![]() Or if I have guessed right, you might want to confirm that, and ask any questions you have as a result of the info I’ve given you. If you describe what you actually want a little bit better, we might be able to help you better. The NppExec script can be added to the Macro menu using Plugins > NppExec > Advanced Settings, and once in the Macro menu, you can use the Macro > Modify Shortcut command to add a keyboard shortcut for that script.For example, I have a NppExec script which compiles the current. Or, you could use a plugin like the NppExec plugin, which has its own batch scripting language. ps1 file – whatever you are most comfortable with) and pass the file to your batch file instead of just to the compiler. If you have a more complicated build need, you can either create a windows batch file (. It will show up in the Run menu from now on. ![]() you can click the save button in the run dialog to save that command for later, and even assign a keyboard shortcut for later use.the official docs have a section on User Defined Commands, which includes a description of the “environment variables” like $(FULL_CURRENT_PATH) that the Run command recognizes.If all you need is a single command based on the filename, like c:\path\to\compiler.exe FILENAMEHERE.cs, then you can just use the builtin Run menu’s Run command, where you could type "c:\path with spaces\to\compiler.exe" "$(FULL_CURRENT_PATH)" (using the quotes around each term, because there can be spaces in those paths) However, it needs to be consistent throughout the entire program. You can use any programming language in Notepad. So from that perspective, it is already configured to work with C#, no matter the compiler you happen to use.Īre you asking how to set it up so that Notepad launches your c# compiler of choice? There are many ways. You can use the following steps to open Notepad in the Windows Start menu: Click the Windows Start button. cs, it will syntax-highlight on C# syntax). ![]() It even has the ability to syntax highlight a file, if either its extension is correct (so if it ends in. Notepad is automatically set up to edit C# or any other code. Your question, both there and here, is so ambiguous as to be difficult to answer. ![]() How is this question different than your first question from a few days ago? If you had really wanted to remind people that you hadn’t gotten an answer, you should have replied there, rather than creating a whole new topic.īut since we are here, I will answer here.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |