Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing Spaces Per Tab in PHPStorm

Tags:

phpstorm

I have a SCSS file I am currently working on. The indentation is 4 spaces, but for some reason PHPStorm only moves the cursor 2 spaces every time I tab. Is there a way to change this? Strange thing is I have other files in the project (mostly JS) and they are tabbed 4 spaces.

like image 352
Lloyd Banks Avatar asked Mar 04 '14 16:03

Lloyd Banks


People also ask

How do I switch between tabs in Phpstorm?

Switch between tabsIn the editor, press Ctrl+Tab . Keep pressing Ctrl for the Switcher window to stay open. Use Tab to switch between tabs and other files.

How do I set tab to 4 spaces in IntelliJ?

To toggle between tabs and spaces: On the main menu, choose Edit → Convert Indents, and then choose To Spaces or To Tabs respectively.

How do I indent in Phpstorm?

If you need to adjust indentation settings, in the Settings/Preferences dialog ( Ctrl+Alt+S ), go to Editor | Code Style. On the appropriate language page, on the Tabs and Indents tab, specify the appropriate indents options and click OK.

How do you set a tab to 4 spaces in Pycharm?

ctrl + shift + A => open pop window to select options, select to spaces to convert all tabs as space, or to tab to convert all spaces as tab.


1 Answers

Settings/Preferences | Editor | Code Style | SCSS -- check for options there

enter image description here

like image 60
LazyOne Avatar answered Oct 12 '22 12:10

LazyOne