sublimetext3

How do I install LiveReload on Sublime Text 3?

拥有回忆 提交于 2020-01-09 12:25:22
问题 I'm using Sublime Text 3 and want to use LiveReload. I have a browser plugin for Chrome already installed. Node.js is also installed. For Sublime Text 3 Live Reload this plugin must be installed: https://github.com/dz0ny/LiveReload-sublimetext2 How can I install it on Windows 7? It just says something about Linux and OSX users. 回答1: Platform I used: Linux Mint 17+ I want to thank http://anthozano.fr/livereload-pour-sublime-text-3/. I was able to run live reload on sublime text 3 with the

How do I install LiveReload on Sublime Text 3?

廉价感情. 提交于 2020-01-09 12:25:02
问题 I'm using Sublime Text 3 and want to use LiveReload. I have a browser plugin for Chrome already installed. Node.js is also installed. For Sublime Text 3 Live Reload this plugin must be installed: https://github.com/dz0ny/LiveReload-sublimetext2 How can I install it on Windows 7? It just says something about Linux and OSX users. 回答1: Platform I used: Linux Mint 17+ I want to thank http://anthozano.fr/livereload-pour-sublime-text-3/. I was able to run live reload on sublime text 3 with the

Sublime text 3 - compile program and run in terminal

拈花ヽ惹草 提交于 2020-01-09 09:07:31
问题 I am using Ubuntu 12.04, and I was wondering, is it possible to automatically run c++ program from terminal? It really sucks when you have to use build in console because sometimes I make infinite loops by accident and have to restart sublime text to work again. I am using Sublime text 3. 回答1: Sublime Text 3 includes two build systems you might be interested in: C++ and Make. The C++.sublime-build file is as follows: { "shell_cmd": "g++ \"${file}\" -o \"${file_path}/${file_base_name}\"",

JSHint and skipping lines with custom non-JS templating code

為{幸葍}努か 提交于 2020-01-06 15:32:15
问题 I am using SublimeLinter3 in SublimeText3 with the SublimeLinter-jshint linter. I have server side JavaScript that is processed by a custom CGI. It imports other server side JS files with a import statement that is formatted as follows (the :ssjs just tells the interpreter to process the import as server side JavaScript): %import /foo/bar.js:ssjs Needless to say, this is causing all sorts of problems with JSHint, such as: Expected an identifier and instead saw '%' Expected an assignment or

Not about programming, but issues with SublimeText UI

折月煮酒 提交于 2020-01-06 04:29:12
问题 Does anyone know (a) why this is happening and (b) better still, how I can fix it. When I right-click a folder in the sidebar and select "New File" the dialog that shows the textbook to enter a new file name is partially hidden behind the status bar. I have tried toggling off the status bar, but then the new file dialog just shifts down even lower. 回答1: You can simply resize vertically the panel by dragging it . 来源: https://stackoverflow.com/questions/30846559/not-about-programming-but-issues

Sublime Text 3 Command B not running

别说谁变了你拦得住时间么 提交于 2020-01-06 04:20:09
问题 I downloaded Sublime Text 3 and now I am trying to run a simple python code in it. The code seems to have run when I run Command + B , but I don't see any output: I am on Mac OS X El Capitan. I can't seem to see what's the issue here. Sublime has always printed the output for correctly formatted python code. 回答1: You are likely using the python syntax check, press COMMAND+SHIFT+B to select what to build with, select python and after that COMMAND+B should work as you expected. Alternatively go

Sublimelinter 4.0.2 new update can no longer find any of my linters

谁说胖子不能爱 提交于 2020-01-05 05:54:43
问题 So after opening up sublime sublimelinter updated and now none of my linters work. I have looked around online and had no luck. when I updated it said that I can manually install the old version but I much rather use the newer version. I am not sure as to how to change the path to my linters. I am sure its something simple. I am new to coding so any and all help will be appreciated. thanks DPI scale: 1.25 startup, version: 3143 windows x64 channel: stable executable: /C/Program Files/Sublime

how to add different number at end of multi line edit?

耗尽温柔 提交于 2020-01-05 04:37:07
问题 Having trouble finding a way to do this, maybe it is not even possible? In my case, for testing flow of if-statements/user-interaction, am temporarily adding 40 lines of console.log('trigger-fired-1'); throughout our code. However, to tell them apart would like each to end with a different number, so in this case, numbers one to forty like so: In the screen recorded gif, to replicate what I am going for, all I did was copy/paste the numbers one to nine. What I really would like is a shortcut

SublimeText: How to find the command for “Next Build Result” to map it to a different key?

大兔子大兔子 提交于 2020-01-05 03:05:09
问题 Background: I am working on an SML file on SublimeText3 with build system setup. After a build, i can successfully jump to the first error using the F4 key. I want to add another key mapping for the same "Next Result" command eg: Cmd+N in Vintage mode. What should i add as in my keybindings file to achieve this? What documentation,file did you refer/look around to find the proper answer for question 1? What was your thought process in brief to figure it out ? edit: changed the required

Sublime snippet with params on tabTrigger

核能气质少年 提交于 2020-01-04 02:54:27
问题 For example somewhere inside .html file i type: temp:some-id And expect my snippet creation magic to return this with the specified "some-id" : <script type="text/template" id="some-id"></script> So i need a way to trigger some text and pass through some arguments to the snippet creation file so when the triggering happens I can assign that arguments to some tab-placeholder inside .sublime-snippet. Any ideas? P.S. im using sublime text 2, if it matters. 回答1: You should use the variable $TM