Best practices for suggesting new file types

Code Writer App Suggestions and Support Forum

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Version: 1.2.3
Avatar

If you have a suggestion for Code Writer to support a new file type, it is most helpful if you can perform some of the legwork for us.  We don't know all the file types out there and some, we've never worked in.  The more information you can provide to help us, the greater the chance that your file type will get added.

Before suggesting a file type, please first see if it's already listed in the Settings' File Types flyout.  If not, check to see if it has already been requested in this forum.  If so, please vote or comment on the request thread so that we know there is more support for that file type.  If it has not yet been requested, then please read on for details on how to make the suggestion.

Minimum File Type Info Needed

Let's review the aspects of a file type that are needed in order to implement it in Code Writer:

  1. The file type name.
  2. The filename extensions that are used by the file type (e.g. .vb for Visual Basic).
  3. A brief description telling what it is used for.
  4. The URL to full specifications of the file type.
  5. Where specifically can the language's list of keywords, comment styles, etc. be found?
  6. How is the language commented, and what commenting style makes the most sense for comment/uncomment selection features?
  7. Which delimiters make sense to be highlighted in delimiter highlighting?
  8. Links to example code for the file type.

Please provide this sort of info in a separate thread for the file type request, not in this thread.

Even More Helpful Info

Code Writer uses our SyntaxEditor control behind the scenes and the syntax language format it uses is identical to our WPF and Silverlight SyntaxEditor versions.  These products ship with a Language Designer application that helps you quickly build syntax languages and lexers that can syntax highlight the language.

What is most helpful to us is if you build the .langproj file yourself for the desired file type using our Language Designer then pass it off to us via e-mail.  The work must be original by you and we'd need you to relinquish all ownership and copyrights on the work so that we could distribute it with our product.

If this path is a possibility, it along with the info listed above makes it much less time consuming (and thus more likely) for us to add your file type.  Please contact our support team via e-mail before you proceed on this more advanced path so that we can coordinate things with you.

Thanks for supporting Code Writer!

[Modified 11 years ago]


Actipro Software Support

Comments (5)

Posted 9 years ago by kevin St.
Avatar

I suggest Less files, and also other none comapable files thats contains text format as programming code...

Posted 8 years ago by "SCdev"
Avatar

Batch file
.bat
Basic Windows (XP+) coding
https://en.wikipedia.org/wiki/Batch_file
https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/batch.mspx?mfr=true
:: This is a example note. Symbols are allowed.
I am not sure.
http://www.scriptcode.com/help/batch-file-examples.html

Posted 8 years ago by John Smith
Avatar

1)Batch file

2) .bat

3) Making automated tasks easier, Basic Windows (XP) coding

4) https://en.wikipedia.org/wiki/Batch_file

5) https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/batch.mspx?mfr=true

6) ::comment , REM

7) echo , for , if , ::comment , goto , :label , pause

8) example code http://pastebin.com/auVybH9z

Posted 6 years ago by David Jager
Avatar

1) Ansys APDL input file

2) .dat / .txt

3) Solving Finite Element Simulations

4) https://www.sharcnet.ca/Software/Ansys/16.2.3/en-us/help/ai_sinfo/ans_intro.html

5) https://www.sharcnet.ca/Software/Ansys/16.2.3/en-us/help/ans_cmd/Hlp_C_CmdTOC.html

6) !

7) *do , *enddo , *if , *endif , /input , /resume , *go , :label , *return , *del , *dim , ! , finish , solve , et , *get , /prep7 , /solu , /post1

8) https://www.simutechgroup.com/tips-and-tricks/fea-articles/384-mapping-stresses-when-using-ansys-mechanical-apdl

It would be very helpful

The latest build of this product (v4.2.42) was released 3 years ago, which was before the next post in this thread.
Posted 16 days ago by Bryan Price
Avatar

I would also like to see .bat/.cmd files added as well.

Windows/DOS batch files

.bat/.cmd

from another editor that I use

/L15"Batch" Nocase Line Comment Num = 4rem Line Comment Alt = :: Line Comment Valid Columns Alt = [1] String Chars = " DisableMLS File Extensions = BAT CMD SYS

This is code to find labels. May or may not be helpful

/TGBegin "Labels"
/TGFindStr = "^:(?!:)(.+)$"
/TGEnd

End code to find labels

/Regexp Type = Perl
/Delimiters = ! $ &'()*+-./:;<=>[\]^`{|}
/Ignore Strings SOL = "rem " "::"
/Open Brace Strings = "(" "[" "{"
/Close Brace Strings = ")" "]" "}"
/Open Fold Strings = "("
/Close Fold Strings = ")"
/Marker Characters = "!!"
/C1"Internal Commands"
:eof
call cd chdir cls copy
date defined del dir do
else endlocal errorlevel exist exit
for
goto
if
md mkdir move
not nul
path pause popd pushd
rd ren rename return rmdir
say select set setlocal start
then title type
ver
when
/C2"External Commands"
ansi append arp assign assoc at atmadm attrib autofail
backup basedev batch bcdedit boot bootcfg bootsect break buffers
cache cacls call cd chcp chdir chkdsk chkntfs choice cipher cls cmd codepage color command comp compact
control convert copy country ctty
date ddinstal debug defrag del delete deltree detach device devicehigh devinfo dir disable diskcoache
diskcomp diskcopy diskpart doskey dosshell dpath drivparm dumpchk dumpprocess
eautil edit edlin emm386 enable endlocal erase exit exit_vdm expand extproc extract
fasthelp fc fcbs fciv fdisk fdiskpm files find findstr fixboot fixmbr for forfiles format fsaccess
fsfilter ftp fType
goto gpupdate graftabl
help himem.sys hostname
icacls if ifshlp.sys iopl ipconfig
join
keyb keys
label lastdrive lh libpath listsvc loadfix loadhigh lock logoff logon
makeini map maxwait md mem memman mkdir mklink mode more move msav msbackup mscdex msd mwbackup
nbtstat net netsh netstat nlsfunc None nslookup
patch path pathping pause pauseonerror picview ping pmrexx popd power print printmonbufsize priority
priority_disk_io prompt protectonly protshell pstat pushd
qbasic
rd recover reg ren rename repl replace restore rmdir rmsize robocopy route run runas
scandisk scanreg schtasks set setboot setlocal setver sfc share shell shift shutdown smartdrv sort spool
start subst suppresspopups swappath switches sys syslevel syslog systeminfo systemroot
taskkill tasklist telnet threads time timeslice title trace tracebuf tracefmt tracert trapdump tree tskill
type
undelete unformat unlock unpack use
ver verify view vmdisk vol
wmic
xcopy xcopy32 xdfcopy
/C3"Variables"
** %
!!
/C4"Labels"
** :
/C5"Echo"
@echo
echo
off on
/C6"Special Characters"
$
;
\
^
/C7"Operators"
!
&
(
)
*
+
-
// /
<
=
>
|
~
/C8"Command Arguments"
DisableDelayedExpansion DisableExtensions
EnableDelayedExpansion EnableExtensions

Hope this helps.

Add Comment

Please log in to a validated account to post comments.