Show folder in the tree view in Atom - atom-editor

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.

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.

Atom Indent Issue

I have a python tensorflow script that used 2 space indent. My Atom preferences have tab set to default: 2. When I hit enter after a : Atom does a 4 space auto-indent, inconsistent with the rest of the file and with the preferences.
In fact, a fresh install comes with the default set like this:
However, if I open a new file and hit the TAB button it tabs 4 spaces. This is bizarre!
I have just started using Atom, so maybe overlooking something obvious, but this is a frustrating problem.
IT turns out there are language-specific preferences that override the general editor preferences. These are accessed via Edit > Preferences > Packages > language-python > Settings which is where the tab length was set to 4.

Atom Package Tree View?

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:

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.

Why is my Settings.bundle empty?

I'm teaching myself iOS programming and am trying to add a Settings Bundle Resource to my Hello World app, following instructions in the iOS Application Programming Guide. The Settings.bundle object is created in my project (with the disclosure triangle) but there are no files inside.
I expected a Root.plist and en.lproj/Root.strings
Am I missing something in my Xcode4 installation or Xcode setup?
Thanks!
If you click on it with the mouse, and choose "Show in Finder", and in Finder click on it and choose "Show Package Contents", you'll see that it's a directory.
(I found the answer at http://www.iphonedevsdk.com/forum/iphone-sdk-development/92361-settings-bundle-corrupted-newly-added-settings-bundle-also-bad-xcode-4-2-a.html )
[quote]
Click on the Settings.bundle file in the left window; from main menu choose View -> Utilities -> Show FileInspector. Then change fileType to "applicationBundle" -- the two missing files will show under Settings.bundle.
[/quote]
(FileInspector is the right column (to the right from the central view(s)), the tab with an icon showing a page with a paper-clip in the corner)
Just for completeness, this was fixed in a newer version of Xcode. I'll remember to include versions numbers next time.

Resources