EmEditor (text editor) Forum Index
   Questions and Answers about EmEditor Core
     HOW DO I: Associate file with no extension to a configuration?
Register To Post

Threaded | Oldest First Previous Topic | Next Topic | Bottom
Poster Thread
Flint
Posted on: 6/3/2011 11:53 am
Home away from home
Joined: 10/9/2006
From: Moscow
Posts: 156
Re: HOW DO I: Associate file with no extension to a configuration?
Both customizations are not possible directly (AFAIK), but instead you can write a macro that will run automatically on each opened file, analyze its path, name and extension and switch the current configuration to anything you need.
mef526
Posted on: 6/3/2011 9:34 am
Just popping in
Joined: 2/5/2008
From:
Posts: 7
HOW DO I: Associate file with no extension to a configuration?
HOW DO I: Associate file with no extension to a configuration?

For example I have a bunch of files without extensions that I want to treat as C++. I tried adding an empty extension to the list and it did not work. I added an extension with a single space and one with just a "." and same.

On a related issue: Is it possible to have an EmEditor config file in a folder that will set the extension types, etc. for that folder?
Threaded | Oldest First Previous Topic | Next Topic | Top


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