Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can the GitHub Atom editor show properties and functions of classes?

Tags:

atom-editor

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

like image 944
alwaysLearn Avatar asked Feb 16 '15 16:02

alwaysLearn


2 Answers

I use a mix with the symbol gen and symbols view packages. First one very good about generating ctag file for your project and second one for inspect code and jump to the definitions of tags. Also, it supports Show all symbols in current file future. It have to show for you the members and properties of your classes.

In short: after installation open a work directory with your project and try alt + cmd + g, wait several seconds, ctags file generating now for you and after that cmd + r and just start typing any part of a method or property in the input.

like image 140
fedorshishi Avatar answered Oct 13 '22 01:10

fedorshishi


In addition to all the previous answers, I would recommend you to check Atom's package goto-definition, with its optional "performance mode" (which requires you to install ripgrep).

goto-definition will allow you to find and access properties and functions/classes definitions even if they are not written in the same file. In combination with ripgrep, goto-definition is extremely fast, and you will not have to wait for file indexing within your project.

like image 42
Yoryo Avatar answered Oct 12 '22 23:10

Yoryo