Can the GitHub Atom editor show class properties and functions?

I recently switched from NetBeans to the GitHub Atom editor. How can I access the properties and functions of classes in the editor?

+6
source share
3 answers

I use a combination with gen gen and characters see packets . First, it’s very good about creating a ctag file for your project, and the second is for checking the code and moving on to tag definitions. In addition, it supports Show all symbols in current file future. It should show you the members and properties of your classes.

In short: after installation, open the working directory with your project and try alt + cmd + g , wait a few seconds, create a ctags file for you and then cmd + r and just start entering any part of the method or property into the input.

+2
source

In addition to all the previous answers, I would recommend that you check out the Atom goto-definition package, with its additional “performance mode” (which requires the installation of ripgrep ).

goto-definition will allow you to find and access properties and definitions of functions / classes, even if they are not written in one file. Combined with ripgrep, goto-definition is extremely fast and you don’t have to wait for indexing files in your project.

+2
source

If you are referencing members of the Java class (which I assume you have used NetBeans before), this is currently not supported in Atom.

Atom is a (fairly simple) editor that allows you to edit text files, and full-screen IDEs (Integrated Development Environments), such as Eclipse, NetBeans, or IntelliJ IDEA, have full language support, including launching, debugging, and viewing Java class information. It might be better to stick with one of the IDE that I talked about if you are looking for such functionality.

Having said that, there is a https://atom.io/packages/atom-ctags package that supposedly can display some meta information about the classes you are working on. This is primarily for C ++, although it may work for Java (I have not tried).

0
source

Source: https://habr.com/ru/post/982566/


All Articles