Comments (5)
Have you heard of NppExec?
See esp. Running Python & wxPython
from notepad-plus-plus.
ok I just found the cmd prompt equivalent:
cmd /K set /p additional_args=Enter additional command line arguments for Python: && call python "$(FULL_CURRENT_PATH)" %additional_args%
from notepad-plus-plus.
Have you heard of NppExec?
See esp. Running Python & wxPython
Never heard of it, thanks for the tip! I'm trying to figure out now how I can execute the python program, leave the terminanl open, and press a hotkey to run it again without having to close it and reopen it.
Now if I've ran the python program it stays open. If I run it again it says that the termial is already open and I need to close it
Right now it looks like this when I press the hotkey to run it again:
The only other thing is that it doesn't take focus. Like with my command put into run, the new powershell or cmd prompt always takes focus and if you type it goes into it by default. I'm going to try and work my way around this, looks promising!
EDIT: I can now get it to exit python and be ready for the next run! Here is how with the command:
cmd /K set /p additional_args=Enter additional command line arguments for Python: && call python "$(FULL_CURRENT_PATH)" %additional_args% && exit
Now only to make the terminanl take focus when I execute
from notepad-plus-plus.
Hello Chris,
this is what I have now.
from notepad-plus-plus.
This issue should be closed. The Run dialog and the NppExec plugin (either/or) give sufficient functionality.
Nothing further needs to be changed about Notepad++ for support for running command line programs.
from notepad-plus-plus.
Related Issues (20)
- [Feature request] When automatically commenting selected block of XML, alter nested XML comment declarations HOT 2
- [BUG] Find window: Checkboxes working if clicked in blank space. HOT 22
- [BUG] WARNING - filebuffer flushing fail! HOT 1
- [Feature request] Simplify Update Process HOT 1
- Lost session of unsaved files HOT 5
- Notepad++ Theme keeps getting reset every time
- [BUG] <Current line highlighting not holding between restrating program>
- [BUG] Python, use spaces setting is overwritten (or not saved) if you close then open Notepad++ HOT 2
- Copy Link Under Caret Shortcut Key Needed HOT 2
- Improved support for importing exporting backup restoring settings and configuration and plugins and extensions HOT 1
- [Feature request] Create New Session HOT 5
- [BUG] Find In File Progress Pane show wrong "Hits:" label in Italian HOT 5
- Use cache to reduce CI build time HOT 7
- [Feature request] Enhancing safety of manually unsaved data for non-existent files. HOT 1
- Sorting large file makes Notepad++ crash HOT 2
- [Feature request] CurrentLine transparency, option for transparent cursor line / caret line HOT 1
- [Feature request] Add "Indent" language by activating lexilla/lexers/LexIndent.cxx HOT 1
- [Feature request] When you paste a text, select that text
- [BUG] Dockable panel failed to show up in some scenario HOT 2
- [BUG] Auto-insert does not work when there is text at the left HOT 4
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 notepad-plus-plus.