sublhandler.app - opens, but doesn't open sublime text - sublimetext2

I've installed subl handler, and I'm trying to test it with the recommended:
open 'subl://open/?url=file:///etc/hosts'
Running this in terminal opens the SublHandler.app itself, but then does nothing - it doesn't open sublime text, let alone the file specified.
In SublHandler prefs, I have the "path to subl" set to /usr/local/bin/subl. If I run /usr/local/bin/subl in my terminal, it opens sublime text.
Any ideas as to why SublHandler isn't working?

Looks like the latest binary from asuth is not working correctly on Maverics. Try my fork here https://github.com/grych/subl-handler - it is working on 10.9.1.

Related

VS code. build in terminal command 'open file.html' opens file in browser instead of vs code redactor

how to setup vs code so it opens files in its own redactor? It worked fine but somehow it broke down and now it opens html files in browser by default.
After terminal command 'open fileName' file opens in vs code redactor window.
Hi I'm here trying to help you. if i'm not mistaken, i'm guessing that you are using MacOS right?
Since i'm using Windows 11, i dont know anything about MacOS, but usually i open VScode via terminal (Command Prompt / CMD) then i go to a folder path and use command code . in there.
So the VScode open and i can see my .html file and other files in that folder in the VScode.
And also i believe that in MacOS it is also possible to set by default what app is used to open certain files such as .html file. In the Windows 11, i can changed it by using the "open file with" feature as shown in this link image. I can choose the VScode option, so it open VScode by default when i click the .html file and not open browser.
I also have some references that might help you:
https://youtu.be/YxJXIPebqMI
https://youtu.be/xLY6fqT2fIU
Sorry for my bad English, this is all I can give. I hope this can help you

Sublime Text - Filezilla - Open files in new tabs - Windows 8

Whenever I click "View/Edit" in Filezilla, the file opens in a new window at Sublime Text. How do I set the files to open as new tabs at the same window?
I tried: "open_files_in_new_window": false, but it doesn't work. I guess it is for MAC only but not Windows?
I am running Windows 8 64bit, Sublime Text 2.0.2, and FileZilla 3.9.0.6
In this case it's connected with ST 3 but you can give it a try or use version 3.
Answer by tsunami141 from http://www.sublimetext.com/forum/viewtopic.php?f=3&p=64638
I was able to find a solution to this. If anyone else is looking for
the answer at all, it was a problem with my filezilla filetype
associations. I was unable to get .html files to open in sublime text
so i had to edit the filezilla filetype associations settings to:
html "C:\Program Files\Sublime Text 3\sublime_text.exe" - open
I fixed the problem by removing the " - open" from the end of that
text, now all files open in tabs in the same window. Hope this helps
someone!

debug mode for logging any commands in the sublime console

I used that command but forgot how to turn it on:
In sublime console, which is invoked by ctrl+` I typed something like ...
turn_on_debug_mode
... and sublime console started to log every command I run. For example, if I press right mouse button on the view and click Copy file path then in the sublime console I found logging of this action with the name of invoked command like copy_file_path.
So that was an easy way to grab names of commands that I could use in self-written sublime plugins.
The problem is that I do not remember how to turn that debug mode on.
In the console input:
sublime.log_commands(True)
To view keystrokes:
sublime.log_input(True)

Sublime Text 2 - Package Control installed but the list not shown

I am using Sublime Text 2 for Mac. I have installed the Package Control for Sublime Text 2, following the instructions from https://sublime.wbond.net/installation#st2 without any trouble. However, when I open up Ctrl+Shif+P to search for available packages, it does not show any.
See the image screenshot here
Do you have any solutions for it? I try restart Sublime but it doesn't solve the problem.
Take a look in your user Preferences.sublime-settings and remove the Package Control from the "ignored_packages" list if it is there.
If you use a Linux based system, you may have to check permissions of /home/user/.config/sublime-text-3. Check if the directory is owned by your user. If not, change the owner user for that directory.
Click the Preferences > Browse Packages and check whether Package control file is there or not.
You can manually put package control file there by downloading it from here and get rid of issues.
I had the same problem. I had to restart my computer to properly reset Sublime Text 2. It seems from your comment that you also got the Package Control list to show up after restarting your computer.
Your screenshot image is currently broken, but make sure you have the zipfile "Package Control.sublime-package" in the Installed Packages directory.
Open the console and run this command:
curl http://sublime.wbond.net/Package%20Control.sublime-package -o ~/Library/Application\ Support/Sublime\ Text\ 2/Installed\ Packages/Package\ Control.sublime-package
Then restart sublime.
See this issue: https://github.com/wbond/sublime_package_control/issues/652

In Nitrous.io, how do you open a file in the IDE from the console?

The Nitrous.io IDE appears to have 4 parts. There's a file browser, a text editor, a console/terminal, and a chat window. It appears that the only way to open a file in the text editor is from the file browser. This only allows me to open files within my home directory. Is there any way to open files in the text editor from the console?
Shift-Ctrl P is available to Go to File... which seems similar to sublime functionality.
You cannot open a file from the shell into the web interface because the web interface is not linked to the shell. The shell is a SSH terminal, which means you can alternately terminal editors such as vi, vim, nano, or emacs.
You can use vim or emacs in the console to edit code. You can maximize the console to take up the entire window, which is a nice coding experience.
http://help.nitrous.io/ide-fullscreen/
You should be able to access any file on your box from the file browser; note that there is also a button at the bottom of the file browser to enable you to show hidden files.
If you're on a Mac, you can also check out our Mac application that will allow you to use your favorite Mac OS X text editor. It also provides shortcuts to manage your boxes on Nitrous.IO:
https://www.nitrous.io/mac