Comments (5)
Hi Zach, I don't believe I've ever built in the command palette entry. Anyways, adding commands to the command palette is simple, and of course can be done for commands beyond that of this plugin. Create a file named Default.sublime-commands
in your user folder and add the following
[
{
"caption": "AdvancedNewFile",
"command": "advanced_new_file"
}
]
Of course, you can modify the caption to whatever you want. The command is the only important part that must match. To find the command and arguments in general, you can enter sublime.log_commands(True)
into the ST console. Alternatively, if you know what key binding command you would like to add to the command palette is, you can take a look at the keymap file for that plugin.
from advancednewfile.
Was it not AWS that provided "Create file relative to path" or something like that?
Thanks a lot for your prompt support, and keep up the awesome work.
Cheers,
Zach Inglis
Superhero Studios | http://superhero-studios.com
HybridConf | http://hybridconf.net
On Monday, 23 September 2013 at 17:18, Scott Kuroda wrote:
Hi Zach, I don't believe I've ever built in the command palette entry. Anyways, adding commands to the command palette is simple, and of course can be done for commands beyond that of this plugin. Create a file named Default.sublime-commands in your user folder and add the following
[ { "caption": "AdvancedNewFile", "command": "advanced_new_file" } ]
Of course, you can modify the caption to whatever you want. The command is the only important part that must match. To find the command and arguments in general, you can enter sublime.log_commands(True) into the ST console. Alternatively, if you know what key binding command you would like to add to the command palette is, you can take a look at the keymap file for that plugin.—
Reply to this email directly or view it on GitHub (#53 (comment)).
from advancednewfile.
I don't recall ever implementing that, but I could be wrong. For this plugin specifically, there really isn't a distinction (in terms of running the command) from the current path or elsewhere. It'll be based on whatever you specified as the default location in the settings. You may also enter :
or ./
to start from the current file. Again, those are based on some settings in the plugin.
I took a quick look at a SideBarEnhancements, as a number of issues have been posted here relating to that plugin. It does appear it has a command with the caption File: New File Relative to Current View
. Not an exact match to what you had posted but similar. Perhaps it was from that plugin.
from advancednewfile.
Oh, that must be the one.
Thanks a lot again. :) Seriously.
Cheers,
Zach Inglis
Superhero Studios | http://superhero-studios.com
HybridConf | http://hybridconf.net
On Monday, 23 September 2013 at 20:35, Scott Kuroda wrote:
I don't recall ever implementing that, but I could be wrong. For this plugin specifically, there really isn't a distinction (in terms of running the command) from the current path or elsewhere. It'll be based on whatever you specified as the default location in the settings. You may also enter : or ./ to start from the current file. Again, those are based on some settings in the plugin.
I took a quick look at a SideBarEnhancements (https://github.com/titoBouzout/SideBarEnhancements), as a number of issues have been posted here relating to that plugin. It does appear it has a command with the caption File: New File Relative to Current View. Not an exact match to what you had posted but similar. Perhaps it was from that plugin.—
Reply to this email directly or view it on GitHub (#53 (comment)).
from advancednewfile.
No problem, glad to help.
from advancednewfile.
Related Issues (20)
- Feature: Create file identification generator HOT 3
- FileHeader is very slow HOT 1
- file_templates how to use HOT 2
- A lot of problems HOT 1
- Syntax highlighting after rename extension works only after file reopen HOT 7
- Suddenly Stopped Working on Sublime 3 HOT 5
- TypeError: super(type, obj): obj must be an instance or subtype of type HOT 3
- Trying to create a file via alias on a drive that's not mounted halts Sublime (Windows x32) HOT 1
- No warn option for copy overwrite HOT 1
- Can not get aliases working HOT 4
- AdvancedNewFile is not working. HOT 2
- Where can I find package file on my linux pc ? HOT 3
- Does not create file of folder on entering path in sublime text 3 build 3143 HOT 3
- can we disable opening file when right click at sidebar? HOT 2
- Can't work out how to replace default ctrl-S behaviour with the plugin's HOT 6
- :filename on samba/windows shares throws error (bug)
- folder_exclude_patterns ignored HOT 3
- Feature - Default Name while creating or renaming with current date/time HOT 2
- [feature] add create new folder at cwd HOT 12
- Remove options for whether to show warnings before overwriting existing files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from advancednewfile.