Code Monkey home page Code Monkey logo

Comments (5)

skuroda avatar skuroda commented on August 21, 2024

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.

zachinglis avatar zachinglis commented on August 21, 2024

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.

skuroda avatar skuroda commented on August 21, 2024

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.

zachinglis avatar zachinglis commented on August 21, 2024

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.

skuroda avatar skuroda commented on August 21, 2024

No problem, glad to help.

from advancednewfile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.