Skip to content

Commit a7efc34

Browse files
committed
Merge pull request #330 from uProxy/trevj-sublime
replace ancient Sublime config and add instructions to the README
2 parents b4d63e9 + 8334756 commit a7efc34

File tree

5 files changed

+23
-52
lines changed

5 files changed

+23
-52
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
*.bak
2-
*.sublime-workspace
32
*.swm
43
*.swn
54
*.swo

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,23 @@ Having problems? To clean up from a partial, broken, or extremely out-dated buil
3232
./setup.sh clean
3333
```
3434

35+
## Developing
36+
37+
Sublime Text 3 provides a good development experience:
38+
39+
* Install [Sublime Text 3](http://www.sublimetext.com/3).
40+
* Install [Package Control](https://packagecontrol.io/).
41+
* Install the TypeScript package [home page](https://github.com/Microsoft/TypeScript-Sublime-Plugin).
42+
43+
Now, TypeScript files will have syntax highlighting and include support for "jump to definition" and refactoring (renaming).
44+
45+
Several compile errors will remain, namely imports from `../../../third_party`. To workaround, Unix (and OSX) users can create a symlink:
46+
47+
* `cd` to the directory containing the repo
48+
* `ln -s uproxy-lib/build/third_party ../third_party`
49+
50+
Re-compile, with F7 (and perhaps restart Sublime, just to be sure) to resolve these errors.
51+
3552
## Demo apps
3653

3754
After building, the apps can be found at `build/dev/uproxy-lib/samples/`. They

editor_support/sublime_text/root.ts

Whitespace-only changes.

editor_support/sublime_text/uproxylib.sublime-project

Lines changed: 0 additions & 51 deletions
This file was deleted.

src/tsconfig.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"compilerOptions": {
3+
"module": "amd",
4+
"noEmit": true
5+
}
6+
}

0 commit comments

Comments
 (0)