Questions tagged [project]
The project tag has no usage guidance.
24
questions
1
vote
2answers
441 views
Projectile switch between opened projects
I often have to work with multiple related projects and switching between them can become hard. I use counsel-projectile and it really makes everything easier. To be clear, I am not talking about ...
1
vote
2answers
183 views
project.el: override project root with dir-local var?
I have a situation where (project-current) gets the project root "wrong", i.e. not what I want it to be - specifically the project is part of a larger project that project.el doesn't know about. Is ...
0
votes
2answers
932 views
How to use xref-find-references on Elisp files without “No references found for” errors
I am using GNU Emacs 26.3 on Ubuntu 19.10.
I have a directory full of Emacs Lisp files with the .el file extension. All of them are loaded into the currently running Emacs. I can open up one of ...
1
vote
2answers
96 views
Setup find-file-at-point to treat tilde as project root
A JavaScript project is setup with webpack path resolver like this:
resolve: {
alias: {
'~': path.resolve(cwd, 'src')
}
},
This has the effect that a line in c:/...
6
votes
1answer
2k views
How to open a folder as project in emacs?
VSCode (and other graphical editors) allow you to open any folder, and all source files in that folder are already tagged such that you can jump to definitions of functions/objects as long as the ...
2
votes
0answers
444 views
Navigate C/C++ Source Code with Emacs [closed]
So, i'm finally starting to work with a multi-file Project in C++ and am in need for smart navigation and completion! So far, i've used company-mode (with irony and company-headers), which is great if ...
0
votes
1answer
619 views
Why are my dir-locals always malformed
I was reading about dir-locals and wanted to set up per project settings. However whatever I try results in a malformed function. Why is this ?
.dir-locals.el:4:1:Warning: ‘(php-mode (php-executable ....
2
votes
1answer
541 views
Projectile buffer names with project relative filenames
I have a largish project with many hundreds of source files involved, and duplicate filenames. I would like to set the buffer names (automatically) to the (projectile) project relative path, instead ...
2
votes
1answer
740 views
Change C indent style for specific project?
I have in my ~/.emacs.d/init.el:
(use-package google-c-style
;; provides the Google C/C++ coding style
:ensure t
:config
(add-hook 'c-mode-common-hook 'google-set-c-style))
However, a ...
0
votes
1answer
166 views
NeoTree: Open to CWD of Buffer
Occasionally when I'm navigating around I want Neotree to jump to the folder of the file I'm working in, but when I open Neotree it's still the last place I left it. I can't find any function with M-...
3
votes
2answers
93 views
Emacs “context” plugin for switching between different tasks in one project without loosing concentration
PyCharm (and other JetBrains products) has wonderful feature — "contexts".
You can configure task server (e.g Github Issue Tracker, Redmine, Trello, etc or use built-in one). When you switch task ...
2
votes
2answers
635 views
C Source code browsing similar to eclipse
Currently I am using eclipse to browse cross compiled C source code. I don't have back end cross compiler to actually compile and build the code. But eclipse create source browse tree.
I want to have ...
2
votes
0answers
351 views
Saving and restoring mutiple window layouts
I'm using the latest version of Emacs on Linux. I'm having trouble saving and restoring various window layouts and buffer states across multiple projects. For example:
Project A: 3 window layout / 3 ...
3
votes
4answers
548 views
Set author per repository
I work on both work and personal projects on my machine, and for my work projects, I prefer to use my work email, and vice versa.
In shell, I use direnv to set GIT_COMMITTER_EMAIL and ...
0
votes
1answer
557 views
EDE load project
I'm running emacs 24.5.1 under windows 7 and I'm trying to figure out how EDE works and I have a problem, I don't understand how to load the project.
I've created Project.ede file like:
;; Object ...
0
votes
0answers
88 views
Make Helm Projectile to show external sources
I'm pretty new to emacs (was using Vim), primarily using it for Ruby on Rails projects.
At my free time, I like to write some C code for STM32 micro-controllers.
Unlike RoR project, C project for ...
12
votes
4answers
13k views
Can emacs support go to declaration of function in an entire project?
Does emacs have a function or library that can allow the user to go to the function declaration even if it was defined in another file?
If so, what languages is there support for?
The inspiration ...
9
votes
2answers
2k views
Projectile with caching doesn't like new files
I use projectile for my project browsing. I have seen that it's really slow, so I turned on caching. Now it's fast (not blazingly fast, sadly).
If I create a new file outside emacs itself, projectile ...
7
votes
0answers
1k views
Projectile only sees project related to current buffer, if the buffer belongs to a project
I have two projects opened in my Emacs. Both are git repos and have .projectile files in their directories.
Relevant lines in my init.el
(projectile-global-mode 1)
(helm-mode)
(setq projectile-...
6
votes
2answers
3k views
Simple project management---org-mode, or another tool?
I'm a beginning emacs and org-mode user interested in the mode for personal project management. For example, I have a database of photo images:
2014-10-steven-and-his-cats.jpg
2014-10-steven-author-...
5
votes
1answer
825 views
Projectile not showing all files under my Git project
I'm using Projectile to index a Rails 4 project. When I use M-x projectile-find-file to locate files using their file name, some files simply don't appear.
For example, I have a file located in app/...
32
votes
4answers
16k views
What is the easiest way to search all useful files inside a single project?
What is the easiest way to search for a regexp throughout the contents all files in the current project, skipping files that are not useful?
Useless files are things like compiled files, imported ...
2
votes
2answers
225 views
Command to automatically define a resource variable in an Android project
When coding Android projects, resource variables are somewhat
cumbersome to define, as they involve visiting a file far away in the
directory structure and writing xml(!).
Say I want to define a ...
12
votes
2answers
2k views
Using DeskTop for basic project management
I would like to use DeskTop for basic project management, i.e. opening a set of buffers and restore histories depending on the project I am working on. Is this possible, i.e. having one desktop file ...