Skip to main content

Questions tagged [ide]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
169 views

How can I develop in Go with IDE capabilities for large projects

I am trying to migrate from GoLand to Emacs as my primary IDE for working with Go. I've gone through the standard advice online: company-go, go-mode, lsp, all that stuff. It was hell, it took forever, ...
1 vote
0 answers
30 views

In Emacs lsp-mode, is there a way to modify function signature?

In lsp-mode (or any other Emacs cases), I can use lsp-rename to rename a var/id, all references being updated automatically. Now I want to modify a function's signature, e.g. adding an argument, in a ...
0 votes
1 answer
1k views

configuring spacemacs for python development

It's been really frustrating trying to get spacemacs to work so far. I've grown to really love it - coming from vim - for its capabilities in manipulating and navigating text, but it's just been so ...
0 votes
2 answers
1k views

Doom - setting code formatter for specific file type

How can I change formatter used for specific file type in doom-emacs format module? So far I've been happy with using mostly doom defaults and haven't gotten into writing custom configurations and ...
2 votes
1 answer
42 views

Setting gud-gdb-command-name in .dir-locals.el

For my current project I have been trying to configure it so I don't need to explicitly type compile and debug commands each time I start a new emacs session. In my .dir-locals.el file I have: ((nil . ...
0 votes
1 answer
2k views

Building targets using cmake-ide

I switched to emacs as my C++ ide. I am using irony mode, company, rtags, and since all of my projects are using cmake, cmake-ide. I cant realy find something online on how the workflow works with ...
0 votes
1 answer
410 views

How to load python layer after direnv?

In order to have lsp-pyright load after pipenv I need pyright to load after direnv. However, appending after: direnv results in an error[0] How can I have pyright starting the workspace after direnv? ...
0 votes
1 answer
78 views

Install elpy on emacs

I checked the elpy site but came across an error where the package cannot be found? I am new to emacs and need a little help reading the error message. The specific code in the init file I tried to ...
0 votes
0 answers
161 views

Emacs as Java IDE - How to run code?

I am looking at setting up Emacs for Java development. As much as possible, I would like to achieve Emacs being comparable to IntelliJ IDEA in terms of features, and also ease-of-use / "things ...
3 votes
2 answers
2k views

Is there a package for semantic refactoring

Is there a package that allows syntax aware refactoring in python or c++. For example, extracting a value as a parameter, into a function signature, extracting a block as a function (passing local ...
0 votes
1 answer
378 views

How to use tree-sitter parser for syntax highlighting?

I'm trying to setup Emacs for editing Roc (https://www.roc-lang.org/) source code. I have an LSP server for Roc and tree-sitter parser for Roc installed. Unfortunately I failed to find tree-sitter ...
0 votes
0 answers
27 views

display documentation and available methods for java

Is there a way to configure emacs so that it displays available methods and documentation when typing "." on an object. Something similar to company-racer for rust as described In this post ...
1 vote
1 answer
61 views

How to proper install and configure js2-mode via use-package declaration?

I am trying to install this package called js2-mode. This is part of my effort to follow this tutorial. Package documentation and tutorial are using classic installation via package-install as follows:...
1 vote
1 answer
130 views

Why Emacs as an editor leaves all the ad hoc packages development work to the community rather than professional parties?

I have been using Emacs for daily editing and programming for several years. I am deeply attracted to the fast and efficient input method as well as the customizability. But recently I find that it is ...
0 votes
2 answers
204 views

overview of functions, methods within a file

I would like to have an overview of all functions/methods/classes/namespaces defined within the currently open file (.cpp or .h). Just like this is the case in VSCode and in Intellij (called "...
0 votes
1 answer
48 views

M-x cider-jack-in keeps starting server forever, but not really starting. How to integrate Emacs development to this Clojure project?

I am new to Clojure and I am using one of Eirc Normad's course to learn. After following the instructions, I do a git clone of: git clone https://github.com/lispcast/introduction-to-clojure.git ...
2 votes
2 answers
6k views

How to set up pyrightconfig in lsp-pyright?

I am using lsp-pyright[1] module in doom Emacs for Python major mode. Local imports from my project are not recognized by lsp server. I have created a pyrightconfig.json file in root directory of my ...
0 votes
1 answer
1k views

How does company mode work?

I am trying to set up a quasi-IDE experience on Emacs for C/++, and I installed the company package. However, it seems it doesn't work. For what I undersood, company by itself is only the front-end. ...
7 votes
1 answer
5k views

How to customize the line character length in elpy?

I am using elpy for my Python development, but I would like to set the per-line character limit to 120 instead of the default 80 used by PEP8. Any suggestions on how I can do this? Even better, it ...
14 votes
4 answers
16k 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 ...
0 votes
0 answers
46 views

How many Python REPL's are there for emacs and their relative merits?

How many Python REPL's are there for Emacs and their relative merits? What OS have you tested them on? How long have you been using them? What version combos of python/emacs/ repl integrating software ...
1 vote
0 answers
89 views

Emacs PDE seems to ignore PERL5LIB environmet variable to use @INC

I'm using emacs 26.3 under FreeBSD 12 environment and try to use PDE. My problem is that in the runtime environment the modules (@INC array) are properly addressed by the PERL5LIB variable. But using ...
1 vote
0 answers
671 views

Emacs on MS Windows, typescript lsp server on wsl?

Long-time emacs user (38 years or so, not kidding). I'm on Windows 10, running native emacs 26.1. I'm doing some Javascript/Typescript (vue.js) development, using WSL for that world, still with the ...
3 votes
2 answers
497 views

How to load an Idris file that depends on a package?

Working in Spacemacs (on Linux Mint, if that is relevant), using the Idris layer, one of my major mode commands is SPC m-r (Vim-style keybindings): idris-load-file. This causes Spacemacs to load up an ...
1 vote
0 answers
77 views

Flycheck Python introspection into modules?

I have flycheck working seemingly as advertised with Python on Emacs 25.2.1. The configuration check shows all dependencies are satisfied and enabled. It does handle introspection within the same ...
2 votes
2 answers
1k views

Configuration steps for Emacs Python / IDE [closed]

I'm newbie. Which is the best configuration for develop in Python using Emacs? Thanks
2 votes
1 answer
2k views

Configuring Emacs as a CMake based C/C++ IDE

I have been interested in Emacs for a while, since I have seen some great articles on the Internet, which demonstrates the usage of Emacs as a C/C++ IDE. Those projects are awesome, yet they are not ...
23 votes
3 answers
22k views

Suitability of Emacs as a Java development IDE

I'm making yet another attempt to convert over to Emacs. I'm a decent Vi user but have been using Eclipse for most of my development work for the past 10+ years (has it been that long). So I did some ...
3 votes
2 answers
134 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 ...
6 votes
2 answers
19k views

How to compile and run a C++ file? [closed]

I don't know how to compile and run a C++ file in GNU Emacs. I searched on the various sites and stackexchange network, but from them what I understood was write something like make compile, and I don'...
2 votes
2 answers
716 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 ...
5 votes
1 answer
239 views

emacs home made perspective: source + eshell + compilation

I want such functionality from emacs (gnu 25), I press key in any buffer with source code, and instead of one buffer I got 3 buffers on the screen: source code buffer ------------------ *eshell* | *...
2 votes
1 answer
2k views

Jump to definition of function or class in one of the include files?

Take the following sample code: #include <cmath> int main() { double a = -10; double b = std::abs(a); return 0; } When I place the cursor over abs, for example between b and s, I ...
2 votes
1 answer
988 views

Sequence of packages to be installed to make emacs an ide for c/c++

Hi everyone I am new to Emacs and was taking help of tutorials to make emacs an IDE for languages like c/c++. I started out with the youtube tutorials by b yuksel at https://www.youtube.com/channel/...
1 vote
0 answers
206 views

Smarter compile in emacs

I often got to work with projects organized as follows: src/ include/ ... Makefile Is there a way to teach emacs' "compile" function to always use that top-level Makefile regardless which file I'...
7 votes
3 answers
3k views

Expanding Dired to show subdirectories/files?

One of the biggest things I miss from other editors (e.g. Sublime, Intellij) is the ability to see the project structure, and expand/minimize directories as needed so I can see what I care about. Is ...
3 votes
1 answer
660 views

Emacs 24 with Elpy 1.7.50 does not recognize Python Project

Note: This was initially posted on StackOverflow a few months back and hasn't received an answer, but I'm reposting it since the Emacs StackExchange is now available. I'm in the process of converting ...
3 votes
1 answer
4k views

Cannot jump to definition in js2-mode or Tern

I am performing Nodejs development in emacs, but my environment seems incorrect. For example, when I run ac-js2-jump-to-definition, I get "no jump location found" in the minibuffer. Also when I run '...
2 votes
2 answers
2k views

Enable Emacs to suggest the available methods of a class

I have setup Emacs to work almost like an IDE but I haven't managed to make it suggest the available methods of every class. I currently write in C++ and previously I was using Visual Studio so when ...
56 votes
9 answers
35k views

Using Emacs as a full-featured C/C++ IDE

I have been trying off and on for over a year now to use Emacs as a C/C++ IDE. I have only been marginally successful thus far, but have run into a few brick walls along the way. Currently I am ...
0 votes
2 answers
2k views

How to get cross referencing in a Python project?

I'd really like full support for cross referencing in Python, in particular in Django. I'm a bit of a n00b when it comes to emacs, but I love it dearly. I've used and been very impressed with the ada-...
0 votes
1 answer
398 views

Fold and select the definition of a function in python?

In python mode (the one that Emacs uses to open python script by default), can I fold the definition of a function? How can I quickly select the entire definition of a function? (so that I can copy ...
3 votes
0 answers
1k views

Arduino IDE for Emacs

I am looking into setting up an Arduino IDE environment in Emacs (on both PC and OS X). I came across the EmacsWiki ArduinoSupport page, which has a good guide for Mac OS X and Linux, which is perfect....