Discussion:
[Notepad-plus-plus] [notepad-plus - Help] Open include files when clickin on it
SourceForge.net
2009-07-23 11:51:47 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7523481
By: tyllleyden

Is there any plugin or short-cut to open highlighted text as file.

e.g. include (config.php);

now I like to open the config.php .. maybe by mark it and klick ctrl+o or something
.. with the same directory like the current file .. so also "include (lib/db.php)"
should work.

Thx for your hints

Tyll

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2009-07-23 12:35:21 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7523582
By: michelmerlin

I warmly support TyllLeyden's suggestion, with a (small) precision: "to open
highlighted text as file" should open the very file stated by the highlighted
text, including translating the "/" (root) or ".." (parent) or other indication
in the file addresses relative to the calling file. If writing this takes time,
then DO NOT implement it partially meantime: this would be useless and
misleading.

Versailles, Thu 23 Jul 2009 14:35:20 +0200

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2009-07-23 13:16:07 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7523642
By: cchris

Run -> open file Alt+F5 Make sure the name of the file to open is selected
prior.

CChris

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2009-07-28 12:08:00 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7531461
By: riedel3

"Alt+F5" or Menu Run->"Open File" at results in a dialog box saying
"C:\Programme\Notepad++\config.php doesn't exist. Create it?"
although the file config.php lies byside the current active file.

Any suggestion to open the file relative to the active one?
Thanks Jörg

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2009-07-28 16:29:11 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7531914
By: cchris

Run -> Open conaining folder , and then select the file to open.

Or call shortcuts.xml to the rescue. You can see that Open file is defined as

$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_WORD)

Edit the command to read as

$(NPP_DIRECTORY)\notepad++.exe $(CURRENT_DIRECTORY)\$(CURRENT_WORD)

You may need double quotes here and there.

How about changing the stock Open file, or adding a new Open file in containing
folder ?

CChris


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2009-07-28 22:15:56 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7532451
By: riedel3

Modifying shortcuts.xml worked for me.
Shouldn't $(CURRENT_DIRECTORY)\$(CURRENT_WORD) be default at this place? I think
it makes more sense.
Thanks Jörg

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2009-08-22 11:24:42 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7577200
By: stych

There'a a direct solution (at least in v5.4.5). Just check the option "Follow
$(CURRENT_DIRECTORY)" under the menu "Plugins->NppExec"

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754
SourceForge.net
2009-08-22 12:45:08 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7577291
By: stych

There'a a direct solution (at least in v5.4.5). Just check the option "Follow
$(CURRENT_DIRECTORY)" under the menu "Plugins->NppExec"

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=331754

Loading...