sublimetext

Sublime Text Indentation Settings Being Overwritten By a File

♀尐吖头ヾ 提交于 2021-01-27 04:23:07
问题 I am working on a project where tab size is supposed to be 4 and tabs should not be spaces. I updated my Preferences.sublime-settings file to include "detect_indentation": "false", "tab_size": 4, "translate_tabs_to_spaces": false, When I open a new file these settings are set to how I want and everything works. However, if I open an existing file (scss or html) that has indentations as 2 spaces, my Sublime settings are overwritten and indentations change to 2 spaces. If I click View >

How to set or find the command name of a Sublime Text plugin

别说谁变了你拦得住时间么 提交于 2021-01-20 12:48:32
问题 I am trying to write an ST3 Plugin for my node js server. In order to run it I am calling the command view.run_command('Node js.nodejs') . My Sublime Text Packages folder looks like this: │ main.py │ text_example_one.py │ ├───Node js │ Nodejs.py │ └───User │ main.py │ Package Control.last-run │ Package Control.sublime-settings │ Preferences.sublime-settings │ └───Package Control.cache 01524fae79697630d0454ba3fabd9414 01524fae79697630d0454ba3fabd9414.info The ../Packages/Node js/Nodejs.py file

How to edit 'column select' shortcut in Sublime text 3 portable

空扰寡人 提交于 2021-01-04 08:51:00
问题 I am a novice to Sublime text. Previously I used notepad++. I use column selection frequently. In notepad++ it comes to me handy with alt + left mouse click which I can drag up to my wished selection. In Sublime text, it is shift + right mouse click and drag up to wished selection for Windows. I want to change it to alt + left mouse click as I have used it in notepad++. I tried searching in preferences > key bindings in sublime text. But couldn't find mouse-key mappings there. I am using

How to edit 'column select' shortcut in Sublime text 3 portable

自作多情 提交于 2021-01-04 08:50:10
问题 I am a novice to Sublime text. Previously I used notepad++. I use column selection frequently. In notepad++ it comes to me handy with alt + left mouse click which I can drag up to my wished selection. In Sublime text, it is shift + right mouse click and drag up to wished selection for Windows. I want to change it to alt + left mouse click as I have used it in notepad++. I tried searching in preferences > key bindings in sublime text. But couldn't find mouse-key mappings there. I am using

Sublime Text 3 unable to import python module although importing from command line is possible?

家住魔仙堡 提交于 2020-08-07 05:34:35
问题 when I tried to build with python in ST3, I get an import error as I tried to do import caffe but when I simply ran on the terminal, typing $ python >>> import caffe it works. On my sublime text 3 I still can import other modules like numpy and matplotlib. This is the sublime python build I found (is this the right location? Why is it not extracted out but instead in a package?): The directory is: /opt/sublime_text/Packages/Python.sublime-package and the file python.sublime-build in the