Tools/Notepad++

From UIT
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{TOC right}} https://www.notepad-plus-plus.org/")
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
{{TOC right}}
 
{{TOC right}}
 
https://www.notepad-plus-plus.org/
 
https://www.notepad-plus-plus.org/
 +
 +
= Command line arguments=
 +
 +
    notepad++.exe ''arguments'' ''"file"''
 +
 +
== Arguments ==
 +
 +
*;-n''LineNumber''
 +
:open ''file'' at current line
 +
*;-ro
 +
:open ''file'' in read-only mode
 +
:This is a Notepad++ read-only mode, the file on the file system will not be modified. This mode can be toggled with ''Edit->Set Read-Only''
 +
:Any file in flagged as read-only on the file system will automatically be loaded as read-only. The flag can be removed with ''Edit->Clear Read-Only Flag''
 +
 +
For the complete list see:
 +
* http://notepad-plus-plus.org/assets/images/scsh/scsh_cmdlineArguments.png
 +
* http://npp-community.tuxfamily.org/documentation/notepad-user-manual/command-line
 +
 +
=== HDL-Designer ===
 +
 +
In [[Tools/Mentor_HDL_Designer|HDL-Designer]] you should therefore enter the following in the editor settings:
 +
 +
<code>"%(p)" -n%(l)</code>
 +
 +
and
 +
 +
<code>"%(p)" -n%(l) -ro</code>
 +
 +
== File ==
 +
 +
''"File"'' can be a single file with relative or absolute path, or a list of space separated files.
 +
As a space denotes a new file, it is recommended to quote all files to avoid problems with spaces in their path.

Latest revision as of 17:05, 19 February 2014

Contents

https://www.notepad-plus-plus.org/

Command line arguments

   notepad++.exe arguments "file"

Arguments

  • -nLineNumber
open file at current line
  • -ro
open file in read-only mode
This is a Notepad++ read-only mode, the file on the file system will not be modified. This mode can be toggled with Edit->Set Read-Only
Any file in flagged as read-only on the file system will automatically be loaded as read-only. The flag can be removed with Edit->Clear Read-Only Flag

For the complete list see:

HDL-Designer

In HDL-Designer you should therefore enter the following in the editor settings:

"%(p)" -n%(l)

and

"%(p)" -n%(l) -ro

File

"File" can be a single file with relative or absolute path, or a list of space separated files. As a space denotes a new file, it is recommended to quote all files to avoid problems with spaces in their path.

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox