I've deleted .* from Ignored Names.
All the . files are now showing in the sidebar (except for the .env file).
Why is only this one file hidden? How can I make it visible?
If you look in the settings for the "tree-view" package, it has an option to hide files that are present in the current project's .gitignore file. You may have that option set, and have .env in the current .gitignore.
Preferences > Settings > Packages > search for "tree-view" > click "Settings" button:
If you are using Atom Nuclide you can find and uncheck the "Exclude VCS Ignored Paths" option in the Settings > Core:
Click in the tree-view pane.
Press i to toggle hidden files and directories.
It's in nuclide-package -> settings -> NUclide-file-tree and toggle:
Hide Ignored Names
Hide VCS Ignored Paths
If you are comfortable, check below.. I did the same thing.
Atom-> Config
add the following lines at the bottom
"tree-view":
hideIgnoredNames: false
hideVcsIgnoredFiles: false
Related
I installed Atom Material icon plugin in WebStorm 2021.1.3.
When I write index.html the icon does not show it, but when I change the name before .html (e.g. othername.html) it displays the icon.
How do I display an icon for index.html?
In most cases, the file type of index.html was changed to Auto-detect file type by context or Text. You can change it in the settings: Preferences / Settings | Editor | File Types, find Auto-detect file type by context or Text and delete index.html from File name patterns list.
This problem is due to a defect in the icon file, which you can see in the following link:
https://material-theme.com/docs/reference/associations/#index
To solve this problem, you must enter the following path: File > Settings > atom material icons settings
Other items are available in the photo :
Rename the icon name from index to indx
Note that the index name must be changed in the settings section so that the icons are displayed correctly. This was the solution I was able to solve my problem. Good luck
Regardless of whether it were supposedly possible to customize this shortcut in the user preferences file (*) : is there actually a default shortcut for Replace/Replace-Next ? Following shows there is no hover-help on it:
(*) After many attempts I have never been successful for the keymap.cson to be respected by Atom. It just gets ignored. Thus I want to use whatever is the default binding for Replace[/-Next] .
No, there is no default shortcut for "Replace Next", only one for "Replace All" (ctrl+enter or ⌘+enter).
But there is a built-in command for it. Putting this in my keymap.cson file works for me:
'atom-text-editor':
'alt-cmd-e': 'find-and-replace:replace-next'
I found this example from here:
https://github.com/bronson/dotfiles/blob/master/.atom/keymap.cson
All of the default settings are here:
https://github.com/atom/find-and-replace/blob/master/keymaps/find-and-replace.cson
It sounds like you already know this, but just for reference, you can find your keymap.cson file by going to Settings (ctrl+, or ⌘+,), and clicking the "Open Config Folder" button.
If your keymap.cson is being ignored, I would start to diagnose the problem by commenting out everything except those two lines in order to see if another setting in keymap.cson is broken.
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:
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.
Since a project can have hundreds of files inside dozens of directories (filters) shown on the "Project Navigator" panel, sometimes it's getting difficult to seek the file which is currently opened in the Editor (for example, when I jump from file to file via "CMD + clicking", etc).
Is there a way to automatically select currently opened file on the "Project Navigator" panel? I.e., automatically expand the directories (filters) and select the file there as I would have clicked on it? Maybe there's a shortcut or something?
Thanks.
The keyboard shortcut is ⌘-shift-J
Right-click the file in the editor and choose Reveal in Project Navigator.
Another option is to Right click anywhere within the Editor pane (with the source code) -> Navigate -> Reveal in Project Navigator.