当前位置:网站首页>Using notepad++ to build an arbitrary language development environment
Using notepad++ to build an arbitrary language development environment
2022-07-03 15:04:00 【trium_ KW】
Notepad++ Is a lightweight open source text editor , Support for multiple languages , And you can add new languages by yourself , In terms of software features alone, it is favored by developers . For mainstream development languages or large projects , There are a wide range of IDE available , Its development efficiency is naturally better than Notepad++; However, for small projects or some relatively unpopular languages ,Notepad++ It is more convenient and flexible .
This paper introduces Notepad++ And GNU Make Combine to build a method suitable for multi language development environment , It's not limited to C/C++、Java、Python、Perl etc. .
1. First download mingw-get Tools , And then use
mingw-get install mingw32-makeobtain GNU make Tools ( Other tools such as gcc Get according to your own needs )
2. download Notepad++
3. open Notepad++ Plugin Manager, download NppExec
4. open Plugins > NppExec > Execute, Enter :
NPP_SAVE
cd $(CURRENT_DIRECTORY)
make5. Click button Save, Name as prompted NppExec Script
6. open Plugins > NppExec > Advanced Options, In the lower left corner Menu Item Select the associated script (Associated script), And name it as prompted ( That is, the name displayed in the menu ), Then click the button Add/Modify, The script is added to Plugins > NppExec At the bottom of the menu . If the number of clicks is too deep , You can put Advanced Options In the upper left corner of the dialog box Place to the Macros submenu Check the box , The script will be added to Macros Lower part of menu .
7. open Settings > Shortcut mapper, by make Add shortcuts , such as F9
8. Similarly, add scripts and set shortcut keys , such as Shift+F9
cd $(CURRENT_DIRECTORY)
make clean9. complete
such , Before writing code, you can write it in the same directory Makefile, And then you can do it in Notepad++ Use in make and make clean 了 . although make Yes C/C++ Well supported , This does not mean that it is not applicable to other languages , For example, it can be used as Python Markdown Preparation and Graphviz Compiling .
about Makefile Relatively fixed language , You can use the same method to NppExec add to 【 Automatically generate according to the suffix of the current file Makefile】 Script for , Further simplify the development process .
边栏推荐
- Global and Chinese market of air cargo logistics 2022-2028: Research Report on technology, participants, trends, market size and share
- Global and Chinese markets for sterile packaging 2022-2028: Research Report on technology, participants, trends, market size and share
- 什么是one-hot encoding?Pytorch中,将label变成one hot编码的两种方式
- Talking about part of data storage in C language
- Byte practice plane longitude 2
- [Yu Yue education] scientific computing and MATLAB language reference materials of Central South University
- Leetcode the smallest number of the rotation array of the offer of the sword (11)
- Pytorch深度学习和目标检测实战笔记
- 【Transform】【实践】使用Pytorch的torch.nn.MultiheadAttention来实现self-attention
- The first character of leetcode sword offer that only appears once (12)
猜你喜欢

Composite type (custom type)

Besides lying flat, what else can a 27 year old do in life?
![[engine development] in depth GPU and rendering optimization (basic)](/img/71/abf09941eb06cd91784df50891fe29.jpg)
[engine development] in depth GPU and rendering optimization (basic)

Tencent internship interview sorting
![[opengl] advanced chapter of texture - principle of flowmap](/img/dd/6208122fcc578caaf098301b185e03.jpg)
[opengl] advanced chapter of texture - principle of flowmap

Use of form text box (I) select text

Qt development - scrolling digital selector commonly used in embedded system

Zero copy underlying analysis

创业团队如何落地敏捷测试,提升质量效能?丨声网开发者创业讲堂 Vol.03
![[ue4] Niagara's indirect draw](/img/8a/576022b5d19e1d6422ff0135c50c93.jpg)
[ue4] Niagara's indirect draw
随机推荐
Remote server background hangs nohup
[graphics] hair simulation in tressfx
Tensor ellipsis (three points) slice
[graphics] efficient target deformation animation based on OpenGL es 3.0
Piwigo 2.7.1 sqli learning
My QT learning path -- how qdatetimeedit is empty
Global and Chinese market of Bus HVAC systems 2022-2028: Research Report on technology, participants, trends, market size and share
Class part2
Implement Gobang with C language
Introduction to opengl4.0 tutorial computing shaders
How does vs+qt set the software version copyright, obtain the software version and display the version number?
Influxdb2 sources add data sources
Vs+qt multithreading implementation -- run and movetothread
Global and Chinese market of trimethylamine 2022-2028: Research Report on technology, participants, trends, market size and share
解决pushgateway数据多次推送会覆盖的问题
High quality workplace human beings must use software to recommend, and you certainly don't know the last one
The picture quality has been improved! LR enhancement details_ Lightroom turns on AI photo detail enhancement: picture clarity increases by 30%
[transform] [practice] use pytoch's torch nn. Multiheadattention to realize self attention
Qt development - scrolling digital selector commonly used in embedded system
5.4-5.5