h / find-file-in-repository Goto Github PK
View Code? Open in Web Editor NEWEmacs: Quickly find files in a git, mercurial or other type of repository
Emacs: Quickly find files in a git, mercurial or other type of repository
It's a feature request if there is no such option.
i don't understand how this mother fucker work
When in a git repo (the non fallback case) find-file-in-repository doesn't seem to work. The minibuffer looks like this:
Find file in repository: [Das System kann den angegebenen Pfad nicht finden.
]
(My locale is german and it means the system is unable to find the path.)
I'm unable to open a file from this prompt.
It would be nice if find-file-in-repository was looking for files in git submodules folders
Opa
For a large repo (9.8k files) I find the completion to be very laggy: see my SO question.
How can I introduce a delay into the process such that only when there is a gap in typing (say 300ms) we go out and run a git ls-files ...
?
Looks like the --recurse-submodules
flag is not compatible with -zco
$ git --version
git version 2.30.0
$ git ls-files --recurse-submodules -zco --exclude-standard
fatal: ls-files --recurse-submodules unsupported mode
$ git ls-files --recurse-submodules --exclude-standard
.gitignore
README.md
find-file-in-repository.el
Would be great to show results regardless of upper/lower casing, for easier typing!
Workaround example with use-package:
(setq read-file-name-completion-ignore-case t)
(ido-mode)
(use-package find-file-in-repository
:bind ("C-x f" . find-file-in-repository))
find-file-in-repository doesn't appear to work if you're accessing a remote checkout via tramp (e.g. if you're visiting a file like /ssh:me@remotemachine:path/to/repo).
When I try it, I get weird options including the following:
/bin/bash: line 0: cd: /ssh:<path to my git root>: No such file or directory
Hi,
this is a great extension, is there a way to make it run with ido-flx's matching on steroid ?
Thanks in advance
If I'm editing f1.cljs
and I type C-x C-f f2.cljs
, it is likely that I mean the f2.cljs file in the same directory I'm in (or in the same directory that f1.cljs is in), or somewhere in the same subtree at least.
For now, instead of getting the f2.cljs in the same directory (src/project relative to project root in my case), the default is resources/public/js/compiled/out/project/f2.cljs
.
In general, sorting project files is a problem that every file-opener has. I described in detail how I'd expect finding to work in another bug report for projectile: bbatsov/projectile#549
Kind of a beginner question, but how do you install this package? I have everything else installed with el-get but this package doesn't seem to be in there, so what specifically do I need to do?
welcome
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.