sublimetext3

how do I change the cursor style in Sublime Text 3

北战南征 提交于 2020-08-20 18:16:35
问题 At some point my cursor changed from a vertical bar to an underbar. I must have pressed some magic combination of keys. Any idea how to change it back? 回答1: Hit Insert That'll change it back. You might have noticed that if you went back on code and typed some you'd be overwriting instead of inserting. 回答2: On mac OS, to toggle between vertical and horizontal cursor in SublimeText 3: command + option + o 回答3: in my case it changed on pressing key fn+insert in SublimeText 3 and windows 10 回答4:

how do I change the cursor style in Sublime Text 3

旧城冷巷雨未停 提交于 2020-08-20 18:16:30
问题 At some point my cursor changed from a vertical bar to an underbar. I must have pressed some magic combination of keys. Any idea how to change it back? 回答1: Hit Insert That'll change it back. You might have noticed that if you went back on code and typed some you'd be overwriting instead of inserting. 回答2: On mac OS, to toggle between vertical and horizontal cursor in SublimeText 3: command + option + o 回答3: in my case it changed on pressing key fn+insert in SublimeText 3 and windows 10 回答4:

How to list all commands in Sublime Text 3

回眸只為那壹抹淺笑 提交于 2020-08-19 04:02:30
问题 I'd like to get a list of all available commands in sublime text 3 (built-in and from packages) What I'm trying to do: Create shortcuts I'm trying to create a shortcut for a package command but I don't know the name of the command. I can find the command and use it using alt + shift + p but then when trying to add the shortcut to my .sublime-keymap file, I'm not sure that to put on the "command": "?" bit. I'd be great if I could just list all commands and grep for what I'm looking for then

How to list all commands in Sublime Text 3

别说谁变了你拦得住时间么 提交于 2020-08-19 04:01:32
问题 I'd like to get a list of all available commands in sublime text 3 (built-in and from packages) What I'm trying to do: Create shortcuts I'm trying to create a shortcut for a package command but I don't know the name of the command. I can find the command and use it using alt + shift + p but then when trying to add the shortcut to my .sublime-keymap file, I'm not sure that to put on the "command": "?" bit. I'd be great if I could just list all commands and grep for what I'm looking for then

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

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

╄→гoц情女王★ 提交于 2020-08-07 05:32:49
问题 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

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

馋奶兔 提交于 2020-08-07 05:32:36
问题 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

opencv not working for c++ on ubuntu 20.04

China☆狼群 提交于 2020-07-22 10:57:05
问题 I've recently (re-)installed OpenCV 4.0.0 on Ubuntu 20.04, but when I try to build some c++ code on Sublime Text, it gives me back errors. This is the code: #include <stdio.h> #include <stdlib.h> #include "opencv2/opencv.hpp" #include "opencv2/highgui/highgui.hpp" using namespace cv; using namespace std; int radius = 50; int curve_angle = 10; int main() { Mat img(radius, radius, CV_8UC3, Scalar(0,0, 100)); namedWindow("showWindow", WINDOW_AUTOSIZE); imshow("showWindow", img); waitKey(0);

Can't open sublime in Bash on Ubuntu on WIndows

橙三吉。 提交于 2020-07-16 06:16:24
问题 I would like to be able to open the sublime text editor from the command line from Bash on Ubuntu on Windows, but each time I attempt to run the command 'subl' I get hit with -bash: C:/Program Files/Sublime Text 3/sublime_text.exe: No such file or directory This is definitely the right directory, but I have no clue as to why this isn't working. Any tips? 回答1: Run notepad as administrator. Copy & paste this two line of code below: #!/bin/bash "$(dirname "$0")/subl.exe" "$@" Save it as subl.txt

Can't open sublime in Bash on Ubuntu on WIndows

本小妞迷上赌 提交于 2020-07-16 06:15:56
问题 I would like to be able to open the sublime text editor from the command line from Bash on Ubuntu on Windows, but each time I attempt to run the command 'subl' I get hit with -bash: C:/Program Files/Sublime Text 3/sublime_text.exe: No such file or directory This is definitely the right directory, but I have no clue as to why this isn't working. Any tips? 回答1: Run notepad as administrator. Copy & paste this two line of code below: #!/bin/bash "$(dirname "$0")/subl.exe" "$@" Save it as subl.txt