You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-2Lines changed: 32 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -41,8 +41,38 @@ Alternatively, download the portable version and clone this repository directly
41
41
### ⚠️ Things to keep in mind
42
42
43
43
After you've finished, keep in mind that you're now overriding a default package.
44
-
- If other people make upstream changes to an overridden package, yours will be out-of-date when Sublime Text updates to a new version. To get the latest version, pull the changes from this repository.
45
-
- If you delete/rename files, but they still exist in the package version which was shipped with the build of Sublime Text you are using, those original files will still be picked up by Sublime unless you replace the entire shipped package with an installed package by the same name. For example, if your build of Sublime has a `syntax_test_sql.sql` file inside the root of `<ST Installation Dir>/Packages/SQL.sublime-package`, then you symlink the SQL folder from this repository to `<ST User Data Dir>/Packages/SQL`, and move that file to a `tests` subfolder, then run all syntax tests, the old syntax test file will still get used in addition to the new one. To fix this, you can create an empty zip file in your `<ST User Data Dir>/Installed Packages` directory like `SQL.sublime-package` and that will cause ST to load this one in place of the shipped one. Then you are just overriding an empty package, instead of merging new files into an existing package.
44
+
45
+
- If other people make upstream changes to an overridden package,
46
+
yours will be out-of-date when Sublime Text updates to a new version.
47
+
To get the latest version, pull the changes from this repository.
48
+
- If you delete/rename files,
49
+
but they still exist in the package version which was shipped with the build of Sublime Text you are using,
50
+
those original files will still be picked up by Sublime,
51
+
unless you replace the entire shipped package with an installed package by the same name.
52
+
53
+
For example, if your build of Sublime has a `syntax_test_sql.sql` file
54
+
inside the root of `<ST Installation Dir>/Packages/SQL.sublime-package`,
55
+
then you symlink the SQL folder from this repository to `<ST User Data Dir>/Packages/SQL`,
56
+
and move that file to a `tests` subfolder,
57
+
then run all syntax tests,
58
+
the old syntax test file will still get used in addition to the new one.
59
+
60
+
To prevent this,
61
+
you can create an empty zip file
62
+
in your `<ST User Data Dir>/Installed Packages` directory like `SQL.sublime-package`
63
+
and that will cause ST to load this one in place of the shipped one.
64
+
Then you are just overriding an empty package,
65
+
instead of merging new files into an existing package.
66
+
67
+
A quick way to create such an empty zip file is via:
0 commit comments