当前位置:网站首页>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-make
obtain 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)
make
5. 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 clean
9. 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 .
边栏推荐
- [wechat applet] wxss template style
- [opengl] face pinching system
- PS tips - draw green earth with a brush
- [graphics] efficient target deformation animation based on OpenGL es 3.0
- 创业团队如何落地敏捷测试,提升质量效能?丨声网开发者创业讲堂 Vol.03
- Joomla! CMS 3.0~3.4.6 RCE
- 什么是embedding(把物体编码为一个低维稠密向量),pytorch中nn.Embedding原理及使用
- NOI OPENJUDGE 1.6(09)
- My QT learning path -- how qdatetimeedit is empty
- 复合类型(自定义类型)
猜你喜欢
How to color ordinary landscape photos, PS tutorial
My QT learning path -- how qdatetimeedit is empty
[ue4] Niagara's indirect draw
Talking about part of data storage in C language
链表有环,快慢指针走3步可以吗
Centos7 deployment sentry redis (with architecture diagram, clear and easy to understand)
什么是embedding(把物体编码为一个低维稠密向量),pytorch中nn.Embedding原理及使用
[transform] [NLP] first proposed transformer. The 2017 paper "attention is all you need" by Google brain team
复合类型(自定义类型)
The picture quality has been improved! LR enhancement details_ Lightroom turns on AI photo detail enhancement: picture clarity increases by 30%
随机推荐
Several sentences extracted from the book "leather bag"
On MEM series functions of C language
Yolov5系列(一)——網絡可視化工具netron
TPS61170QDRVRQ1
5-1 blocking / non blocking, synchronous / asynchronous
Class part2
基础SQL教程
Zzuli:1056 lucky numbers
Qt development - scrolling digital selector commonly used in embedded system
C string format (decimal point retention / decimal conversion, etc.)
【pytorch学习笔记】Transforms
【Transform】【NLP】首次提出Transformer,Google Brain团队2017年论文《Attention is all you need》
[pytorch learning notes] transforms
Amazon, express, lazada, shopee, eBay, wish, Wal Mart, Alibaba international, meikeduo and other cross-border e-commerce platforms evaluate how Ziyang account can seize traffic by using products in th
How can entrepreneurial teams implement agile testing to improve quality and efficiency? Voice network developer entrepreneurship lecture Vol.03
Introduction to opengl4.0 tutorial computing shaders
2022/02/14
Global and Chinese markets for ionization equipment 2022-2028: Research Report on technology, participants, trends, market size and share
Yolov5进阶之八 高低版本格式转换问题
创业团队如何落地敏捷测试,提升质量效能?丨声网开发者创业讲堂 Vol.03