Home  >  Article  >  Development Tools  >  How to call notepad in ISE

How to call notepad in ISE

(*-*)浩
(*-*)浩Original
2019-08-07 14:22:395149browse

How to call notepad in ISE

ISE下点击菜单Edit -> Preferences -> Editor(推荐学习:notepad使用

在Editor选项框里选择Custom,在Command line syntax文本框里输入路径,如:   

{C:/Program Files/Notepad++/notepad++.exe} $1

大括号{}里是你的notepad++.exe的路径,路径中存在空格的话加上大括号;

$1相当于文件名。  

然后点OK。

以后在ISE工程下点击某个.v或.vhd文件,或者文件编译报错点击错误文件,都会自动调用Notepad++来打开文件。         

但是遗憾的是,这种方法并不能实现错误高亮定位,即编译报错点击错误文件,弹出的Notepad++的高亮定位和光标总是出现在代码的第一行,并不能快速地定位到错误出现的那一行,非常不方便。需要修改设置。

前面的步骤同前面相同,只是需要在Command line syntax文本框里输入:   

{C:/Program Files/Notepad++/notepad++.exe} $1 -n$2

-n是Notepad++的命令行,代表文件打开后光标所在的行号;

$2是指定的行号;注意$1前面和后面的空格。   

-n和$2之间没有空格。

The above is the detailed content of How to call notepad in ISE. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to mark notepad redNext article:How to mark notepad red