Closed Sekai92 closed 9 years ago
Are there any errors in the ST console when you hit the keybinding? If not, there might be a conflict with another plugin. Try entering sublime.log_commands(True)
in the ST console. What command comes up?
nothing comes up sir. im already type sublime.log_commands(True) on console and nothing happen
If you open the command palette, are any of the AdvancedNewFile commands there? They are prefixed with ANF:
.
If not, there might be a problem when the plugin loads. When you start ST, can you scroll up in the ST console. You should see a line like reloading plugin AdvancedNewFile.AdvancedNewFile
.
If that line isn't there, it's possible the plugin was somehow uninstalled. If you are using Package Control, you can use Package Control: List Packages
in the command palette to see what is installed. If you are not, check the Packages directory for AdvancedNewFile directory.
I get this error in the console:
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 140, in create_window_commands
cmds.append(class_(window))
File "advanced_new_file.commands.copy_file_command in /Users/blake/Library/Application Support/Sublime Text 3/Installed Packages/AdvancedNewFile.sublime-package", line 11, in __init__
TypeError: super(type, obj): obj must be an instance or subtype of type
That error sometimes appears when an update occurs. I just pushed a few recently. Quitting ST (cmd + q) then restarting ST should fix the error. Let me know if it doesn't.
Aha. Restarting worked. Thanks for the tip.
Great, I'll try to be better about adding messages when updates occurs, and suggesting restarts when they occur.
Thanks for using AdvancedNewFile.
i have this error sir:
Reloading plugin C:\Users\Sekai92\AppData\Roaming\Sublime Text 2\Packages\AdvancedNewFile\AdvancedNewFile.py
Traceback (most recent call last):
File ".\sublime_plugin.py", line 62, in reload_plugin
File ".\AdvancedNewFile.py", line 22, in
@Sekai92 looks to be an issue specific to windows. Think I found a fix, but I won't be able to verify till later today (no windows machine to test on at the moment).
@Sekai92, I've pushed a fix that should address this issue.
Works for me now. Don't forget to restart ST after upgrading the plugin.
@skuroda thank you worked perfectly sir :)
i'm using this shortcut to create new file few days ago, { "keys": ["ctrl+alt+n"], "command": "advanced_new_file"}
but now is not working what should i do?