Skip to content

Commit

Permalink
Rename to default so that the LSP works nicely
Browse files Browse the repository at this point in the history
  • Loading branch information
boatbomber committed Nov 9, 2024
1 parent e76533d commit 6ca2d00
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
/*.rbxl
/*.rbxlx

# Test places for the Roblox Studio Plugin
/plugin/*.rbxlx
# Sourcemap for the Rojo plugin (for better intellisense)
/sourcemap.json

# Roblox Studio holds 'lock' files on places
*.rbxl.lock
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ You'll want these tools to work on Rojo:
* Latest stable Rust compiler
* Latest stable [Rojo](https://github.com/rojo-rbx/rojo)
* [Foreman](https://github.com/Roblox/foreman)
* [Luau Language Server](https://github.com/JohnnyMorganz/luau-lsp) (Only needed if working on the Studio plugin.)

When working on the Studio plugin, we recommend using this command to rebuild the plugin when you save a change:
When working on the Studio plugin, we recommend using this command to automatically rebuild the plugin when you save a change:

*(Make sure you've enabled the Studio setting to reload plugins on file change!)*

Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fn main() -> Result<(), anyhow::Error> {
);

let snapshot = VfsSnapshot::dir(hashmap! {
"default.project.json" => snapshot_from_fs_path(&root_dir.join("plugin.project.json"))?,
"default.project.json" => snapshot_from_fs_path(&root_dir.join("default.project.json"))?,
"fmt" => snapshot_from_fs_path(&plugin_dir.join("fmt"))?,
"http" => snapshot_from_fs_path(&plugin_dir.join("http"))?,
"log" => snapshot_from_fs_path(&plugin_dir.join("log"))?,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion plugin/test-place.project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

"ReplicatedStorage": {
"Rojo": {
"$path": "../plugin.project.json"
"$path": "../default.project.json"
},

"Packages": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/watch-build-plugin.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rojo build plugin.project.json --plugin Rojo.rbxm --watch
rojo build default.project.json --plugin Rojo.rbxm --watch

0 comments on commit 6ca2d00

Please sign in to comment.