Atom Package Tree View? - atom-editor

I just started using Atom and can't figure out how to display files/folders that are included in .gitignore. I've seen posts that say to uncheck hide vcs ignored files in tree view but I can't even find tree view, haha!

There are three things you need to check:
1.) There is a option in the "View" menu to toggle the tree view:
2.) If it's still not visible, please check if the Core Package "tree-view" is enabled:
3.) Now to get Atom showing you VCS ignored files, you need to disable "Hide VCS Ignored Files" on the Settings pane of the "tree-view" package:

Related

Change gps behaviour on build target compile file

If I use the GNAT Programming Studio (GPS) to build a single file (Build target Compile file), the editor jumps to the first location in the file with a build warning/error.
It is possible to disable this behaviour using a setting?
Yes. That's apparently an "Advanced" feature, and a bit harder to find than other settings...
Open the Preferences dialog (Edit -> Preferences).
Next to the search preference... box, there's a menu icon. Click on it, and tick off the Show advanced preferences option. An Advanced category has now been added to the list on the left. In there, you will find a Jump to first location option.

Getting GPS to display my package subfolders

My GPS does not display the subfolders under "src" although they exist and are non empty. When I try to create a new subfolder from within GPS, it gets created but does not show under "src". I am using (community) GPS version 20180523 on Windows 10.
I have tried the following.
(1) I fiddled around with the folder display options in the top right corner of the project tab with no success.
(2) I aggressively hit the refresh button.
(3) I created the subfolders I want in Windows explorer.
How can I get my folder-organised code to show correctly in GPS?
Thanks.
In your project properties GUI, go under Sources->Directories and check the "Include Subdirectories" checkbox. To add it manually to your GPR file, open it and add "/**" to the end of your Source_Dirs option:
for Source_Dirs use ("src/**");

Atom.io find in project not working

I am trying to use the "find in project" feature of Atom editor.
I am coming from sublime and assumed that opening a folder is the equivalent of opening a project. Is this assumption correct?
If so, then I have a project open. I then search from a string using "Find in project". I am certain the string exists, and the file type is not ignored, yet it still returns no result.
I ran into this issue, and it only affected one project - a project in a git repo.
I checked the settings of the search field.. they were fine.
My issue was, as #fab313 mentioned above, as the setting in Core > Exclude VCS ignored paths.
Once I unchecked that box (Atom menu, Preferences, Core).. all project searches worked fine!
I had this same problem and I found that I accidentally clicked some of the settings boxes in the bottom right.
You just want to make sure you know which boxes are checked.
If I check one of those boxes (making them blue) then my CTRL/Command + F will only find a single result.
The settings will look like this and cause the problems for me:

Set a shortcut in Atom editor for Go To Definition using go-plus

How can I set a shortcut in Atom editor for Go To Definition using go-plus. Thanks for your help in advance.
By default, the go-plus package uses Alt+Cmd+G to trigger the Go To Definition binding (as can be seen here). This binding will only work in files that use the Go grammar. Since Cmd is only available on Mac OS X, I don't know what keybinding other operating systems will use by default.
To redefine the keybinding, do the following:
Open the Atom Preferences, select the Keybindings section.
In the Search field, type 'go' to filter the list of keybindings.
Click the Copy icon next to the golang:godef keybinding.
Click the your keymap file link at the top.
This will open your keymap.cson file. Go to the end of the file and paste the copied content:
'atom-text-editor[data-grammar="source go"]:not(.mini)':
'alt-cmd-g': 'golang:godef'
Edit the keybinding to your liking and safe the file.
To verify the new keybinding, open the Key Binding Resolver view by selecting the Packages > Key Binding Resolver > Toggle menu entry. Open a Go file and press the keybinding you assigned, then watch the Key Binding Resolver view to see any conflicts.

Show folder in the tree view in Atom

When I am using rubymine, I can open a panel with ctrl+shift+n and enter something like "users/" and it will show me the users folder in the tree view on the left, how can I do the same in Atom editor? I can open files with ctrl + p, but I can't find anything about going to the folder.
It looks like this functionality is currently not available in Atom. Some related information:
You can reveal the currently edited file in the Tree View using the menu entry Packages > Tree View > Reveal Active File or using the assigned keyboard shortcut (on OS X Cmd+Shift+\)
There's a Tree View Filter package, which seems to be similar to what you're looking for.
The Tree View Search Bar package allows to search the tree view's content.
There's an open issue on the Tree View package to add search capabilities, but it has not been implemented yet.
Looks available to me?
tree-view:reveal-active-file
Cmd + |
Try Shortcuts : ctrl \ or cmd \ to open/close the tree view
if still not opening then check your .atom/config.cson
and check disabledPackages and remove tree-view from it.
and restart your atom again.
if still not open then install it again
https://atom.io/packages/tree-view
NOTE : sometimes it happens if you uninstalled Nuclide package
Had a similar issue after I installed the nuclide.
The problem was that the package disables the standard tree view.
Solution:
Go to Atom Preference > Packages
Enable core Package tree-View
To do this select Atom > Preferences. When your settings show up, click on Packages in the left hand column. Search for the installed package, tree-view. Once it comes up, click on Settings and then uncheck the option Hide VCS Ignored Files.

Resources