sublimetext3

sublime text 3 html autocompletion not working correctly

◇◆丶佛笑我妖孽 提交于 2019-12-01 11:25:25
I am trying to use sublimetext3 for editing html. If I do ul tab, then it generates <ul></ul> if I do ul.temp tab, then it generates <ul class="temp"></ul> however, when I am trying ul>li.temp tab, it is generating ul><li class="temp"></li> What I am expecting to see is <ul><li class="temp"></li></ul> I have package control. What am I missing in getting this functionality? skuroda Note: Moved to an answer at the request of the original poster. Perhaps the behavior you are looking for comes from the Emmet plugin What you are describing it the expected behavior for Sublime Text. The

SublimeREPL and IPython

断了今生、忘了曾经 提交于 2019-12-01 11:15:01
I fail when I tried to use IPython with SublimeREPL. My setup is: - Windows 8.1 - Sublime Text 3 - C:\Python34 - C:\Python27 - C:\Anaconda3\Scripts -> Here it's where Ipython is My PYTHONPATH and PATH are correct and I wrote in SublimeREPL settings - User: { "default_extend_env": {"PATH": "{PATH};C\\Anaconda3\\Scripts"} } It's solved. I make a file named Main.sublime-menu within the folder Sublime Text 3\Packages\User\SublimeREPL\config\Python [ { "id": "tools", "children": [{ "caption": "SublimeREPL", "mnemonic": "r", "id": "SublimeREPL", "children": [ { "caption": "Python", "id": "Python",

Is there a shortcut for Sublime Text to find an open file (Eclipse Ctrl + E)?

天大地大妈咪最大 提交于 2019-12-01 10:36:59
Ctrl + P of Sublime Text lets me find a file from all project files. However, there are too many duplicated names. I’m looking for a shortcut key like Ctrl + E in Eclipse, so that I just need to find the file in my opened file. That would save a lot of key striking. Probably called “sidebar filter”? Does not matter if it’s 2 or 3. Sounds easy to implement just select Tools >> Developer >> New Plugin... and add the content: import sublime_plugin import os def _show_name(name): return ([os.path.basename(name), name] if name else ["untitled", "untitled"]) class ShowBuffersCommand(sublime_plugin

jshint and sublimelinter settings config on mac

不羁的心 提交于 2019-12-01 09:45:44
问题 I'm trying to configure sublimelinter, specifically jshint on my Mac. On my windows version of SublimeText there is the following section in SublimeLinter.sublime-settings "jshint_options": { // To fix column positions for JSHint errors you may want to add `"indent": 1` to your // **User** "jshint_options". This issue affects users with tabs for indentation. // This fix was reverted due to a conflict with using the `"white": true` option. // "indent": 1, "evil": true, "regexdash": true,

unable to send R code from a knitr document to SublimeREPL

给你一囗甜甜゛ 提交于 2019-12-01 09:44:21
I'm using Sublime 3, and I have a very simple question. SublimeREPL is working perfectly with R files, and Sublime compiles perfectly the knitr files (using LaTeXing) But if I want to send R code from a knitr file (.Rnw) I get the following error: Cannot find REPL for 'tex.latex.knitr.ing' (I'm using Ubuntu 14.04 by the way) Any ideas? Ok, so someone solved it here: https://github.com/wuub/SublimeREPL/issues/165#issuecomment-57658359 Just in case someone has the same problem: this file has to be edited: ~/.config/sublime-text-3/Packages/SublimeREPL/config/R/Main.sublime-menu and the aditional

SublimeREPL and IPython

跟風遠走 提交于 2019-12-01 09:29:20
问题 I fail when I tried to use IPython with SublimeREPL. My setup is: - Windows 8.1 - Sublime Text 3 - C:\Python34 - C:\Python27 - C:\Anaconda3\Scripts -> Here it's where Ipython is My PYTHONPATH and PATH are correct and I wrote in SublimeREPL settings - User: { "default_extend_env": {"PATH": "{PATH};C\\Anaconda3\\Scripts"} } 回答1: It's solved. I make a file named Main.sublime-menu within the folder Sublime Text 3\Packages\User\SublimeREPL\config\Python [ { "id": "tools", "children": [{ "caption":

Sublime Text Plugin : Adding python libraries

孤街醉人 提交于 2019-12-01 07:17:06
I'm trying to write a sublime text plugin which would make some windows api calls. I did some research and found out that this python library provides the API's that I need to use. So, I'm trying to to use this library. When I add import statement for it in my sublime text plugin it gives me error ImportError: No module named win32api I'd assume that it's because sublime text comes with inbuilt python and I haven't actually installed these libraries on my system it's throwing up these errors. How do I add such libraries in my sublime plugin also How would I distribute such plugin? In order to

Build System - Sublime Text 3

守給你的承諾、 提交于 2019-12-01 06:50:34
I have the following script called "build-bat.sublime-build": { "cmd": "build.bat", "working_dir": "$project_path", "windows" : { "shell": true } } The script is in C:\Users\MyName\AppData\Roaming\Sublime Text 3\Packages I can select the script in Tools/Build Systems/build-bat and then I run it via CTRL+B or via manually selecting it in Tools/Build It happens exactly nothing. I don't see anything, I don't get any errors. It should run a file named: build.bat in the current directory where the file that I am working on is placed. But that doesn't happen. Why? After adding a new build system to

Sublime Text 3 - integrated terminal?

时间秒杀一切 提交于 2019-12-01 04:15:24
I normally use the WebStorm IDE for Node.js and FE JavaScript development. However I was thinking of using Sublime Text 3 since I am running out of computing power on a crappy old Macbook Pro and ST3 should be lighter on memory and CPU. However, my one hangup is that ST3 doesn't seem to have a command line terminal integration possible. I find this to be a very useful feature that's available in Eclipse and WebStorm. I did some Googling and I don't see any great terminal integration plugins for ST3, is there such a thing or not? Here is WebStorm with the terminal integrated: The below original

How to cancel an ongoing find/search in Sublime Text3

我只是一个虾纸丫 提交于 2019-12-01 03:21:40
How can I cancel an ongoing search in sublime text? basically when I do a recursive folder search for a particular text using ctrl + shft + F But sometimes it runs infinitely given a bad search pattern. How to cancel a bad search of course without closing Sublime text? One of the way to stop the search I use is to search again with an invalid path. That does the trick for me. Hope that helps It is currently not possible to stop a "Find in Files" search once it has begun. Closing the "Find Results" panel or tab doesn't affect it - it only means you won't see any further results that are found.