EmEditor (text editor) Forum Index
   Questions and Answers about EmEditor Core
     Swap cpp and header files
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
parameter
Posted on: 3/5/2012 2:17 pm
Not too shy to talk
Joined: 3/5/2012
From:
Posts: 30
Re: Swap cpp and header files
One way to do this in a more general way (i.e. not just c++) would be to have a command to rotate through the extensions (associations) for a given configuration.

So for HTML, if you were editing foo.htm when you executed the command then Emedit would look for foo.html, foo.asp, foo.aspx, foo.shtml, and foo.shtm in the same directory as foo.htm and open that file (whichever it found next).

For C++, in my version of Emedit, it looks like that list would be cpp, cxx, c, h, hpp, inl, and rc. If I only had a foo.cpp and a foo.h file in that directory I'd effectively jump between the two associated files with this command.

If I also had a foo.inl in that directory, I'd rotate between all three.

I'm hoping this will make the feature request more appealing to implement as it will be more generally useful and elegant (vs. my initial request to jump between two files for one specific programming language).


Flat Previous Topic | Next Topic


Subject Poster Date
   Swap cpp and header files parameter 3/5/2012 12:17 pm
   » Re: Swap cpp and header files parameter 3/5/2012 2:17 pm
       Re: Swap cpp and header files Yutaka 3/6/2012 8:58 am
         Re: Swap cpp and header files parameter 3/6/2012 2:19 pm

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