Skip to content

Commit

Permalink
Implement VSCode providers
Browse files Browse the repository at this point in the history
Implement VSCode language providers for Ren'Py
  • Loading branch information
rdurfee committed Sep 25, 2021
1 parent febc2c1 commit 2a67194
Show file tree
Hide file tree
Showing 22 changed files with 5,952 additions and 15 deletions.
5 changes: 3 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"out": false // set this to true to hide the "out" folder with the compiled JS files
"**/*.rpyc": true
},
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
}
},
"cmake.configureOnOpen": true
}
5 changes: 4 additions & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
.vscode/**
.vscode-test/**
node_modules
out/test/**
out/**/*.map
src/**
**/*.ts
.gitignore
tsconfig.json
vsc-extension-quickstart.md
tslint.json
!renpy.json
!renpyauto.json
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 2.0.0 (2021/09/01)

### Features

* Extension Settings - Allows you to enable/disable certain new functionality
* Hover - Hovering over a keyword will display the selected item's source file/location as well as documentation if available
* Definition - Adds support for right-click Go To Definition (F12), which will jump to the selected keyword's source
* Document Symbols - Document Symbols are displayed in the Outline window in the sidebar
* Signature Help - Shows the documentation pop-up as you enter a function's arguments
* Completion - Displays a pop-up auto-complete menu with appropriate choices as you type your script
* Document Color - Displays a color block next to detected colors in your script and allows you to pick new colors with a click
* Reference - Adds support for Go To Reference, which searches your documents for the selected keyword
* Folding - Adds folding support to collapse logical sections of your script in the editor
* Semantic Tokens - Detects parameters and variables in screens and functions and colorizes them correctly
* Diagnostics - Adds support for detection of issues with indentation or invalid filenames/variable names and marks them as errors or warnings in the editor

## 1.1.0 (2021/08/13)

### Features
Expand Down
5 changes: 5 additions & 0 deletions examples/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.exclude": {
"**/*.rpyc": true
}
}
Loading

0 comments on commit 2a67194

Please sign in to comment.