Re: is there a way to index files with extension .dart [one of google developing language] [message #862 is a reply to message #861] |
Wed, 17 April 2019 10:11 |
FoxTrot Engineering
Messages: 406 Registered: April 2020
|
Senior Member |
|
|
Alex Fu wrote:
> is there a way to index files with extension .dart [one of google
> developing language]
> thank you.
Yes; they are several ways to do so:
- install a Spotlight metadata importer (or an application that includes one) that handles this file type. As dart files are probably plain text files, this is probably not necessary though.
- install an application (e.g. an IDE or text editor) that declares the .dart file type as conforming to the UTI (Uniform Type Identifier) public.source-code or public.plain-text.
- in last resort, there is a command line setting in FoxTrot to make it index a specific file type as another one; first quit FoxTrot, then type the following command to a Terminal.app window:
defaults write com.ctmdev.foxtrot Aliases -array-add "{type='dart'; as='txt';}"
You will then have to rebuild your index.
See more FoxTrot hidden settings:
https://services.ctmdev.com/FoxTrot%20hidden%20preferences.h tml
Jérôme - CTM Engineering
--
------------------------------------------------------------ ---------
"If email is important to you, PowerMail should be important to you,
because I truly believe there isn’t a better one for the Macintosh."
PowerMail user comment on www.versiontracker.com
Download a demo version from www.ctmdev.com
------------------------------------------------------------ ---------
--
---
Jérôme - FoxTrot Engineering
|
|
|