Skip to content

Commit

Permalink
Rename Package to CoffeeScript
Browse files Browse the repository at this point in the history
The old CoffeeScript is for unsupported ST2 only and this package
is not really worth being named "Better".
  • Loading branch information
deathaxe committed Aug 24, 2024
1 parent 76ba86a commit 6bb4f55
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions Default.sublime-commands
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@
"command": "toggle_parens"
},
{
"caption": "Preferences: Better CoffeeScript Settings",
"caption": "Preferences: CoffeeScript Settings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/Better CoffeeScript/CoffeeScript.sublime-settings",
"base_file": "${packages}/CoffeeScript/CoffeeScript.sublime-settings",
"default": "{\n\t$0\n}\n"
}
},
{
"caption": "Preferences: Better CoffeeScript Key Bindings",
"caption": "Preferences: CoffeeScript Key Bindings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/Better CoffeeScript/Default ($platform).sublime-keymap",
"base_file": "${packages}/CoffeeScript/Default ($platform).sublime-keymap",
"default": "{\n\t$0\n}\n"
}
}
Expand Down
4 changes: 2 additions & 2 deletions Main.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
"caption": "Settings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/Better CoffeeScript/CoffeeScript.sublime-settings",
"base_file": "${packages}/CoffeeScript/CoffeeScript.sublime-settings",
"default": "{\n\t$0\n}\n"
}
},
{
"caption": "Key Bindings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/Better CoffeeScript/Default ($platform).sublime-keymap",
"base_file": "${packages}/CoffeeScript/Default ($platform).sublime-keymap",
"default": "{\n\t$0\n}\n"
}
}
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ If you have [Package Control](https://packagecontrol.io/), you know what to do.

* Open the Command Pallete (`ctrl+shift+P` or `cmd+shift+P`).
* Type "Install Package" and hit return.
* Type "Better CoffeeScript" and hit return.
* Type "CoffeeScript" and hit return.

## via Source Control

Expand All @@ -46,7 +46,7 @@ will be preferred.
Open a Terminal/Console and run the following commands, replacing `PACKAGE_PATH` with the path corresponding to your OS above.

cd PACKAGE_PATH
git clone https://github.com/SublimeText/BetterCoffeeScript.git "Better CoffeeScript"
git clone https://github.com/SublimeText/BetterCoffeeScript.git "CoffeeScript"

### As a repository outside of the packages directory

Expand All @@ -62,12 +62,12 @@ Once that is done, we will create the link:
#### Windows:

cd PACKAGE_PATH
mklink /D "Better CoffeeScript" ABSOLUTE_PATH_TO_REPOSITORY
mklink /D "CoffeeScript" ABSOLUTE_PATH_TO_REPOSITORY

#### Nix/Mac:

cd PACKAGE_PATH
ln -s ABSOLUTE_PATH_TO_REPOSITORY "Better CoffeeScript"
ln -s ABSOLUTE_PATH_TO_REPOSITORY "CoffeeScript"


# Commands/Shortcuts
Expand Down Expand Up @@ -145,7 +145,7 @@ That's what this is for! You would create a `Cakefile` and inside it you would w

# Settings

Go to `Preferences > Package Settings > Better CoffeeScript > Settings - User` to change settings.
Go to `Preferences > Package Settings > CoffeeScript > Settings - User` to change settings.

```Javascript
{
Expand Down Expand Up @@ -296,7 +296,7 @@ This path will go into the `binDir` setting.

- I'm getting the error message `'coffee' is not recognized as an internal or external command,` when saving.

The coffee-script binary probably is not installed. Either install coffee-script or set `checkSyntaxOnSave` and `compileOnSave` to `false` in `Preferences > Package Settings > Better CoffeeScript > Settings - User`.
The coffee-script binary probably is not installed. Either install coffee-script or set `checkSyntaxOnSave` and `compileOnSave` to `false` in `Preferences > Package Settings > CoffeeScript > Settings - User`.



Expand Down

0 comments on commit 6bb4f55

Please sign in to comment.