Aptana: disable code assist on php else keyword
-
19-12-2020 - |
Question
Maybe someone knows how to disable content assist only on 'else' keyword when working with PHP source editor in Aptana?
As I really, really hate it with this keyword, because after newest release it's really messing with my workflow as after entering 'else' and pressing enter it replaces it with:
else {
[cursor stays here]
}
and sometimes it decides to get rid of indents completely.
Mind you I don't want to disable content assist completely, I just want to disable it for 'else' keyword.
Solution
Try this:
- Commands > PHP > Edit this bundle
- Open snippets/snippets.rb in the new php project it just created
- Delete the two snippets for else around line 85. Save the file
Problem should be gone.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow