User Tools

Site Tools


brightscript
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
Next revision
brightscript [2015/09/12 21:10] dblume
Line 1: Line 1:
 +====== BrightScript ======
  
 +Here are some BrightScript tips.
 +
 +On a Windows system, here's a template Sublime project:
 +
 +<file javascript My_Project.sublime-project>
 +{
 + "build_systems":
 + [
 + {
 + "name": "Zip",
 + "working_dir": "$project_path",
 + "windows": {
 + "cmd": "\"C:\\Program Files\\7-Zip\\7z.exe\" a -tzip \"$project_base_name.zip\" manifest source/*.* images"
 + },
 + "osx": {
 + "shell_cmd": "zip \"$project_base_name.zip\" manifest source/*.* images"
 + },
 + "linux": {
 + "shell_cmd": "zip \"$project_base_name.zip\" manifest source/*.* images"
 + }
 + }
 + ],
 + "folders":
 + [
 + {
 + "path": ".",
 + "file_exclude_patterns":
 + [
 + "tags",
 + "*.zip",
 + "*.sublime-project"
 + ],
 + "folder_exclude_patterns":
 + [
 + "obj"
 + ],
 + }
 + ]
 +}
 +</file>
 +
 +===== Syntax Highlighting =====
 +
 +BrightScript Language Definition Bundle for Sublime Text 2 is available here: [[https://github.com/cmink/BrightScript.tmbundle|cmink/BrightScript.tmbundle]]
 +
 +Once you've git cloned the project, remove the extra git-only files, and zip it up to BrightScript.sublime-package.
 +
 +<code>
 +$ rm TODO
 +$ rm .gitignore
 +$ rm -rf .git
 +$ cd .. 
 +$ zip BrightScript.sublime-package BrightScript.tmbundle/*
 +</code>
brightscript.txt · Last modified: 2023/04/12 20:44 by 127.0.0.1