• CSCode User's Guide
    • Introduction to CSCode
    • How to ...
      • Navigation, Menus, and Windows
      • Supported Files
      • Keyboard Shortcuts
    • File Formats
    • Settings
    • Troubleshooting

Navigation, Menus, and Windows

File
NewCreate a new file.
OpenOpen an existing file.
CloseClose the current file.
Close AllClose all open files.
Reload from DiskDiscard changes and reload the current file from the disk.
SaveSave the current file.
Save AsSave the current file with a new name.
Save AllSave all open files.
Localhost SettingsChange Localhost settings.
 
Edit
UndoUndo the most recent change.
RedoRedo the last undo.
CutCopy selected text to clipboard and delete it.
CopyCopy selected text to clipboard.
PastePaste text on clipboard to selected location.
DeleteDelete selected text.
FindFind text in the current file.
Find NextFind the next occurrence of text in the current file.
ReplaceReplace text with new text in the current file.
 
Language
Default File Extension
CSPro Logic.apc
CSPro Text Template (HTML)—
CSPro Text Template (Markdown)—
CSPro Text Template—
CSPro Messages.mgf
CSPro Action Invoker —
CSPro HTML Dialog.html (in CSPro's html/dialogs folder)
CSPro Document.csdoc
CSPro Specification File (JSON).ent, .bch, .xtb,.csprops, .dcf, .cmp, .csds, .cspack, .exf, .fqf, .ssf, .xl2cs
CSPro Specification File (INI).ent, .bch, .xtb,.csprops, .dcf, .cmp, .exf, .fqf, .ssf, .xl2cs (pre-8.0 files)
HTML.html, .htm, .cshtml
JavaScript.js, .mjs
JSON.json, .geojson
Markdown.md
SQL.sql
YAML.qsf
None (Text)(any other extension)
 
Code
Paste as String LiteralPaste text on clipboard to selected location as a string literal (JSON, JavaScript, CSPro Logic/Text Template/Messages).
String EncoderShows a dialog that encodes and decodes text into a variety of string literal formats.
Path AdjusterDisplays a dialog that facilitates working with absolute and relative paths in CSPro logic.
Deprecation WarningsModify the setting for the kind of deprecation warnings to display during compilation (CSPro Logic, Text Templates).
Code FoldingOptions to fold the application's logic (CSPro Logic).
 
Run
Dynamic Commands
Files with command available
Open in Associated ProgramAll files
CSPro Logic VersionCSPro Logic, Text Templates, and Messages
Preview Text TemplateCSPro Text Template (HTML), CSPro Text Template (Markdown)
ValidateCSPro Action Invoker, JSON
CompileJavaScript
RunCSPro Action Invoker, HTML Dialog, HTML, JavaScript, Markdown
StopCSPro Action Invoker, JavaScript
Format JSONCSPro Action Invoker, Specification File (JSON), JSON
Compact JSONCSPro Action Invoker, Specification File (JSON), JSON
Display Results as JSONCSPro Action Invoker
Abort on First ExceptionCSPro Action Invoker
Validate Specification FileCSPro Action Invoker
Validate JSON OnlyCSPro Specification File (JSON)
CSPro Specification FileCSPro Specification File (JSON)
Convert to CSPro 7.7 FormatCSPro Specification File (JSON)
JavaScript ModuleJavaScript
 
Window
BuildShows compilation/validation errors. (JavaScript, JSON, CSPro Messages/Action Invoker)
OutputShows results. (JavaScript, CSPro Action Invoker/HTML Dialog)
HTML ViewerShows HTML in browser. (Document context menu, HTML CSPro Text Template, HTML)
WindowsShows all documents, and lets you save/close/activate specific ones.
 
Document Context Menu (right-click on document)
SaveSave the selected file.
CloseClose the selected file.
Close All But ThisClose all open files other than selected file.
Copy Full PathCopies full path of file as text to the clipboard.
Open Containing FolderOpens containing folder in file viewer.
Open in Associated ApplicationOpens file in default application.
Localhost -> Copy MappingCreates a localhost URL to access the document on Localhost, copying the mapping to the clipboard.
Localhost -> Open in HTML ViewerDisplays file in HTML Viewer window using a localhost URL.
Localhost -> Open in External BrowserOpens file in default web browser using a localhost URL.
See also: Keyboard Shortcuts