EmEditor (text editor) Forum Index
   Enhancement Suggestions about Plug-ins
     Projects plugin - one more subargument to get file name
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
spectre
Posted on: 2/2/2009 10:47 pm
Just popping in
Joined: 2/2/2009
From:
Posts: 2
Projects plugin - one more subargument to get file name
I would like to make a suggestion to enhance Projects plugin.

Currently, a predefined argument of a tool (like $(Solution) or $(Project)) can also have one of 3 subarguments ('f', 'd', 'x'). This allows to get the full path, the directory or the extension of the corresponding file, respectively.

I would suggest to add one more subargument, say, 'n', to get only the name of that file (without extension). This can be very convenient. It is not quite rare that the application built in a project has the same name as the project file. To provide custom tools to execute or debug the application from EmEditor, one needs to extract the respective name.

Or assume one has created a solution template for Qt applications. It seems reasonable to give the same name as for the solution to some of Qt specific files - Qt project (.pro) file and may be others.

Of course, there are ways to get around this like passing the full path to a .cmd-script or some program to extract the file name there. But having to write just $(Solution,n) would probably be much more convenient.
Flat Previous Topic | Next Topic


Subject Poster Date
 » Projects plugin - one more subargument to get file name spectre 2/2/2009 10:47 pm
     Re: Projects plugin - one more subargument to get file name Yutaka 2/3/2009 9:46 am
       Re: Projects plugin - one more subargument to get file name spectre 2/3/2009 10:22 pm
         Re: Projects plugin - one more subargument to get file name Yutaka 2/4/2009 10:33 am

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文