Questions tagged [project]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
135 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
4answers
408 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 ...
28
votes
4answers
11k 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 ...
9
votes
2answers
1k 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 ...
2
votes
1answer
327 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
0answers
282 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 ...
3
votes
2answers
81 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 ...
0
votes
1answer
412 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
2answers
582 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 ...
12
votes
3answers
9k 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 ...
2
votes
1answer
545 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
153 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-...
2
votes
0answers
269 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 ...
0
votes
1answer
480 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
86 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 ...
6
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
2k 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-...
2
votes
2answers
214 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 ...
4
votes
1answer
592 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/...
12
votes
1answer
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 ...