Code Monkey home page Code Monkey logo

Comments (10)

bachue avatar bachue commented on August 21, 2024

BTW, now I bind too many shortcuts and hardly to remember them all, can I trigger this tool by a command in the palette? Thanks.

from advancednewfile.

skuroda avatar skuroda commented on August 21, 2024

I'm a little busy right now, but I'll try to add that soon (along with a configuration for it as I believe { and } are technically valid characters for a path. I can add a menu entry too. Till I get to it though, you can add it yourself! In your Packages/User directory, create a Default.sublime-commands file with the following

[
    {
        "caption": "Advanced New File",
        "command": "advanced_new_file"
    }
]

Of course, you can change the caption to whatever you want.

from advancednewfile.

bachue avatar bachue commented on August 21, 2024

@skuroda Great! Thanks for your help!

from advancednewfile.

skuroda avatar skuroda commented on August 21, 2024

Added in 148c71f. Sorry for the (really) long delay. Don't know if you are still using the plugin, but regardless, thanks for using it in the past and making an enhancement request. Will need to set shell_input to true in the ANF settings.

from advancednewfile.

bachue avatar bachue commented on August 21, 2024

@skuroda Thanks for still remembering this issue!! I've tried the new version, and I wonder when I enable shell_input, the auto completions seems not to work. Is that a bug? Thanks!

from advancednewfile.

skuroda avatar skuroda commented on August 21, 2024

Possibly, are the completions not working at all? Or after you insert curly braces?

from advancednewfile.

bachue avatar bachue commented on August 21, 2024

@skuroda Just when I set the shell_input, it doesn't work

from advancednewfile.

skuroda avatar skuroda commented on August 21, 2024

Hmm interesting, are there any errors in the ST console? Does it insert a tab or is there nothing there? Can you also give me the version of ST you are using, the system type, and any user settings you have for AdvancedNewFile. I'm having trouble reproducing the issue on my machine.

from advancednewfile.

skuroda avatar skuroda commented on August 21, 2024

Oh I think I found the issue. Are you using ST2? It looks like the python version bundled with ST2 treats the string differently than python3. Assuming you are using ST2, I've created an issue to address this #89.

from advancednewfile.

bachue avatar bachue commented on August 21, 2024

@skuroda Yes, I'm still using ST2.

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.