Comments (6)
The name of the command is advanced_new_file_new
. Valid command names can be found on https://github.com/skuroda/Sublime-AdvancedNewFile/wiki/Commands. Thank you for using AdvancedNewFile.
from advancednewfile.
Thank you. However: that does not seem to work (tested on Linux). Please explain in a straightforward fashion how I can make ctrl-S save in a directory, and with a filetype, that I have preset.
from advancednewfile.
{"keys": ["ctrl+s"], "command": "advanced_new_file_new"}
in your user key bindings file should work. If it is not, you can enable some level of ST debugging by entering sublime.log_input(True)
in the ST console.
When enabled, you should see an entry similar to
key evt: control+s
Setting an extension can be done by setting default_extension
, in your AdvanedNewFile user settings file.
"default_extension": ".txt"
If you are still having trouble with the key bindings, you may want to review http://docs.sublimetext.info/en/sublime-text-3/customization/key_bindings.html or ask on https://forum.sublimetext.com/. I haven't done much work with the Sublime Text plugins in quite some time, so there may be new tooling or configurations available to better isolate the problem.
from advancednewfile.
Thank you.
I tried those suggestions, on Windows and Linux, with results I regard as poor. To wit: when I tried to save my existing AdvancedNewFile.sublime-settings
file (!), I was prompted, in the status bar - not even a GUI - for a new file name.
Unless I make some mistake, this cure for SublimeText's new file handling is more inconvenient than the original disease.
from advancednewfile.
It sounds like this is a misunderstanding of what this plugin does. It's designed to create a new named file, not save the existing file.
While I believe it's been improved now, earlier versions of sublime text always required saving new files via a GUI. For many use cases, this was unnecessary, as the file being created was known. To put this another way, it is an enhancement of creating and saving a new file without requiring a file UI interaction.
from advancednewfile.
Yes, I think I misunderstood what the plugin is intended to do.
from advancednewfile.
Related Issues (20)
- Input only half visible HOT 7
- 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
- :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
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.