Skip to content

Commit

Permalink
0.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
CppCXY committed Apr 3, 2024
1 parent b284140 commit 0aa7341
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 9 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

[English Change Log](CHANGELOG_EN.md)

# 0.6.3

`NEW` 支持emmylua经典代码渲染

`FIX` 优化一点内存占用

`FIX` 暂时屏蔽控制流分析给出的错误诊断

`NEW` 修复索引表达式找不到引用的问题

`NEW` 支持读取配置, 但是目前没有作用


## 0.6.2

`FIX` 不索引大文件(超过200kb)
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG_EN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Change Log

# 0.6.3

`NEW` Support classic code rendering for EmmyLua

`FIX` Optimize memory usage slightly

`FIX` Temporarily disable error diagnostics from control flow analysis

`NEW` Fix the issue of not finding references for index expressions

`NEW` Support reading configurations, but currently has no effect


## 0.6.2

`FIX` Do not index large files (over 200kb)

## 0.6.1

`FIX` Fixed type parsing error for types like { x:number }
Expand Down
2 changes: 1 addition & 1 deletion build/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ exports.default = {
emmyDebuggerUrl: 'https://github.com/EmmyLua/EmmyLuaDebugger/releases/download',
lanServerVersion: "0.5.16",
lanServerUrl: 'https://github.com/EmmyLua/EmmyLua-LanguageServer/releases/download',
newLanguageServerVersion: "0.1.2",
newLanguageServerVersion: "0.1.3",
newLanguageServerUrl: "https://github.com/CppCXY/EmmyLuaAnalyzer/releases/download"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "emmylua",
"displayName": "EmmyLua",
"description": "EmmyLua for vscode",
"version": "0.6.2",
"version": "0.6.3",
"icon": "res/icon.png",
"publisher": "tangzx",
"engines": {
Expand Down
14 changes: 7 additions & 7 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ export function activate(context: vscode.ExtensionContext) {
);
if (!ctx.newLanguageServer) {
javaExecutablePath = findJava();
context.subscriptions.push(vscode.workspace.onDidChangeConfiguration(onDidChangeConfiguration, null, context.subscriptions));
context.subscriptions.push(vscode.workspace.onDidChangeTextDocument(onDidChangeTextDocument, null, context.subscriptions));
context.subscriptions.push(vscode.window.onDidChangeActiveTextEditor(onDidChangeActiveTextEditor, null, context.subscriptions));
context.subscriptions.push(vscode.commands.registerCommand("emmy.restartServer", restartServer));
context.subscriptions.push(vscode.commands.registerCommand("emmy.showReferences", showReferences));
context.subscriptions.push(vscode.commands.registerCommand("emmy.insertEmmyDebugCode", insertEmmyDebugCode));
context.subscriptions.push(vscode.commands.registerCommand("emmy.stopServer", stopServer));
}
context.subscriptions.push(vscode.workspace.onDidChangeConfiguration(onDidChangeConfiguration, null, context.subscriptions));
context.subscriptions.push(vscode.workspace.onDidChangeTextDocument(onDidChangeTextDocument, null, context.subscriptions));
context.subscriptions.push(vscode.window.onDidChangeActiveTextEditor(onDidChangeActiveTextEditor, null, context.subscriptions));
context.subscriptions.push(vscode.commands.registerCommand("emmy.restartServer", restartServer));
context.subscriptions.push(vscode.commands.registerCommand("emmy.showReferences", showReferences));
context.subscriptions.push(vscode.commands.registerCommand("emmy.insertEmmyDebugCode", insertEmmyDebugCode));
context.subscriptions.push(vscode.commands.registerCommand("emmy.stopServer", stopServer));

context.subscriptions.push(vscode.languages.setLanguageConfiguration("lua", new LuaLanguageConfiguration()));

Expand Down

0 comments on commit 0aa7341

Please sign in to comment.