A
A
Artem Volkov2019-02-09 03:31:14
Sublime Text
Artem Volkov, 2019-02-09 03:31:14

How to change the default syntax in Sublime Text 3 PHP language (Windows 7)?

Hello.
I use the Sublime Text 3 editor to work with PHP sodom.
You need to make some changes to the standard settings for speed dialing (if I put it right).
Read more...

<-- по умолчанию ( ifelse + Tab ) -->

  if (condition) {
    # code...
  } else {
    # code...
  }


  <-- вот так нужно -->

  //
  if (condition) {
    # if body...
  } else {
    # else body ...
  }

Image...
5c5e1e7d306b0765895305.jpeg
Tell me in which editor file you can make small edits.
PS - snippets are not an option

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hitsmart, 2019-03-08
@AronTito

You need to install the PackageResourceViewer plugin.
Next, open the file for editing:
Ctrl+Shift+P -> PackageResourceViewer:Open Resource -> PHP -> if(-)-else(-).sublime-snippet
All changes are applied immediately after saving

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question