To select files, you can either type in the file name in the text input field, or click the "Browse..." button and search for the file visually, shown here to the left.
The browse button for the input file brings up a file open dialog box for the source file, the browse button for the output file brings up a file save dialog box for choosing the html file, and the browse button for the scs file brings up a file open dialog box for choosing the colour scheme.
Select an input source file and a name for the html file to be generated, choosing an SCS file is optional. When selecting an input file using browse, you can filter out which formats to look for to narrow down your search.
After choosing an inupt file, the output file will automatically be set to use the input filename with ".html" at the end of it (so technically, you don't have to choose an output filename). To override this, you can just choose your own output filename.


|
Webcpp supports many languages and a myriad of extensions. The default is "All Major Filetypes".
|
Language
|
Filter
|
|
Ada95 | *.adb,*.ads,*.ali |
|
Assembly | *.asm,*.s |
|
Asp | *.asp,*.asa |
|
Basic | *.bas |
|
C Source | *.c,*.rc |
|
C# | *.cs |
|
C++ Source | *.cc,*.cpp,*.cxx |
|
C/C++ Header | *.h,*.hh,*.hpp,*.hxx |
|
Objective-C | *.m |
|
Cg (Nvidia) | *.cg |
|
CLIPS (Nasa) | *.clp |
|
DOS Batch | *.bat,*.cmd |
|
Euphoria | *.e,*.eu,*.ex |
|
Haskell | *.hs,*.lhs |
|
Java | *.java |
|
JavaScript | *.js |
|
Fortran | *.f,*.f77,*.f90,*.for,*.ftn |
|
Markup | *.htm,*.html,*.shtml,*.sgml,*.xml |
|
Modula2 | *.def,*.mod |
|
Pascal | *.pas |
|
Perl Script | *.cgi,*.pl,*.plx,*.plex,*.pm |
|
PHP Script | *.inc,*.php,*.php3,*.php4 |
|
Power Builder 6 | *.pbl, *.pbr |
|
Python Script | *.py, *.pyw |
|
Renderman | *.rib,*.sl |
|
Ruby | *.rb |
|
SQL | *.sql |
|
Tcl | *.tcl,*.tk |
|
Unix Shell | *.sh |
|
Unreal Script | *.uc |
|
VHDL | *.v,*.vhd,*.vhdl |
|
The Webcpp engine will know how to highlight the file by checking the file extension, and then loading a language profile for the highlighting engine. All of this is done internally, so you don't have to worry about it.
|