We use Stylus a lot and we prefer the clean syntax Stylus has than the syntax SCSS has. We have used a lot of Sublime Text before we tried PhpStorm now, and Sublime Text writes Stylus so nice and easy!
1. When I write a property for example "pos" in PhpStorm it auto completes those three letters to position: absolute; instead of clean Stylus syntax position aboslute. In Sublime Text it would auto complete with correct Stylus syntax. We do not want to write position: absolute; because if we would like that we would have used SCSS instead of Stylus. How do we change so that PhpStorm auto completes with stylus syntax instead of CSS/SCSS syntax when we write Stylus in a Stylus file?
2. In Sublime Text when we write Stylus and have just finished writing a value, and hit 'enter' twice it would result with a new line without an indent but with PhpStorm when I hit 'enter' twice then it results with a new line with an indent which is not what we want because we hit 'enter' twice because we want to start write another class name. This does not make any sense in PhpStorm. Look at the examples below.
In Sublime Text when we hit 'enter' twice after writing a value
In PhpStorm when we hit 'enter' twice after writing a value
As you can see we have to do a revert tab before we can begin to write a new class. How do we make PhpStorm behave more like Sublime Text when we write Stylus code?
Thanks a lot in advance!
/New PhpStorm user who uses Stylus a lot