S
S
sudo rm -rf /2017-05-16 23:44:57
Sublime Text
sudo rm -rf /, 2017-05-16 23:44:57

How to set normal syntax definition for gulpfile in Sublime Text 3?

Hello. Faced such a problem. When opening gulpfile.js and gulpfile.coffee in Sublime Text 3, it hacks the Gulpfile js or Gulpfile Coffee syntax instead of js or coffee respectively.
In this scenario, some keyboard shortcuts do not work. For example, ctrl+/
I tried to just change the syntax, and also change it through View > Syntax > Open all with current extension as.. > js or coffeescript, but nothing changes when I open it again.
8d642749702c4cee8f5c0204976014b0.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sudo rm -rf /, 2017-05-17
@MaxLevs

Okay, issue resolved. It turned out that the SoDaReloaded Theme package interrupted all installations. It had syntax for gulpfile.js and gulpfile.coffee, which for some reason were loaded on their own and did not have some functionality. Sawed out - everything fell into place.

Z
zooks, 2017-05-17
@zooks

Ctrl + Shift + P -> JavaScript
or on subsequent calls
Ctrl + Shift + P -> js

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question