I'm trying to configure my Atom editor in a way that after I click Enter, the new line starts with an indentation of 4 spaces, and not with a single Tab as it is configured by default.
Thanks.
Go to settings.
Go to Editor sidebar item
Make sure Soft Tabs is checked
Below, set TabType to "auto"
Set Tab Length (a tab is normally 4 spaces)
Related
why I can't use indentation and always automatically get the new line as the image below when I hit "enter", how could I change it to be indented?
Preview error indentation
It might be the editor you are using or extensions you've installed.
You can press "tab" to manually indent the code.
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.
How can I enable the ability to drag-and-drop text in Adobe Brackets?
For example, when I select text and drag it in Sublime Text, it moves. How can I do the same in Bracket?
You're looking for the dragDropText setting.
To enable it, insert this line into your preferences file:
"dragDropText": true
(Note: You may need to reload Brackets for the changes to take effect)
VoilĂ ! Drag-and-drop that text! :)
Happy coding!
1- go to menu-->Debug
2- go to "open Preferences File"
3- go to the file : "brackets.json"
4- copy and pase these codes on last line and dont forget separate last code with this by ",":
"dragDropText": true
*HOPE TO HELP :))
Is it possible to hide Sublime Text 3's console for ever?
I don't like the console's look, so I installed 'Buildview' to 'move the console into a view'.
Unfortunately the console is showing up as well as the Buildview when I build my SCSS.
Open Sublime Text -> Preferences -> Settings-User and add the following:
"show_panel_on_build": false
Save the file, and you shouldn't see the build pane anymore.
For some reason the side bar on Sublime Text 3 is just displaying the folder named Template. The strange thing is that this folder is already deleted and regardless of that, the folder Template should not be displayed when I open Sublime in for example my Dropbox folder. No matter where in Ubuntu I open Sublime (from command line or Dash) it will open with that folder named Template in the sidebar. Template will have the arrow next to it indicating I can expand its contents or hide them. When I press it I see the arrow go from the right to to down position no folder contents show, nothing happens.
Also nothing happens when I go Project > Refresh Folders.
This problem happened around the time I was trying to add a new server using SFTP. Not certain if that had anything to do with it.
Any ideas whats happening here?
If it is a top level folder, you need to edit the project itself. You may right click on the folder in the side bar, and select "Remove from Project". Alternatively, you can edit the file itself by going to Project -> Edit Project. The top level folders are defined as a list of objects. Remove the entry you want from there, and it will no longer appear in the sidebar. You can write a plugin to clean up a project for you if you find yourself removing items frequently.