0.0.2
This commit is contained in:
parent
158cef5d3d
commit
1c06163b28
3 changed files with 75 additions and 71 deletions
|
@ -21,6 +21,12 @@ This will include and parse the new library
|
|||
None so far
|
||||
|
||||
## Release Notes
|
||||
|
||||
## 0.0.2
|
||||
|
||||
Fixing compatibility bug with original extension.
|
||||
|
||||
|
||||
## 0.0.1
|
||||
|
||||
Initial release.
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
// The module 'vscode' contains the VS Code extensibility API
|
||||
// Import the module and reference it with the alias vscode in your code below
|
||||
const vscode = require('vscode');
|
||||
const phpMode_1 = require('./phpMode');
|
||||
const phpFunctionSuggestions_1 = require('./phpFunctionSuggestions');
|
||||
exports.phpFileFunctions = {};
|
||||
exports.phpFileStaticFunctions = {};
|
||||
|
@ -19,7 +18,7 @@ function activate(context) {
|
|||
indexPhpFiles();
|
||||
});
|
||||
// Setup our class as a compvarion item provider for function autocompvare
|
||||
context.subscriptions.push(vscode.languages.registerCompletionItemProvider(phpMode_1.PHP_MODE, {
|
||||
context.subscriptions.push(vscode.languages.registerCompletionItemProvider(exports.PHP_MODE, {
|
||||
provideCompletionItems(document, position, token) {
|
||||
var filename = document.fileName;
|
||||
var lineText = document.lineAt(position.line).text;
|
||||
|
@ -131,7 +130,7 @@ function activate(context) {
|
|||
}
|
||||
}));
|
||||
// Setup our plugin to help with function signatures
|
||||
context.subscriptions.push(vscode.languages.registerSignatureHelpProvider(phpMode_1.PHP_MODE, new phpFunctionSuggestions_1.PhpSignatureHelpProvider(vscode.workspace.getConfiguration('php')['docsTool']), '(', ','));
|
||||
context.subscriptions.push(vscode.languages.registerSignatureHelpProvider(exports.PHP_MODE, new phpFunctionSuggestions_1.PhpSignatureHelpProvider(vscode.workspace.getConfiguration('php')['docsTool']), '(', ','));
|
||||
// The command has been defined in the package.json file
|
||||
// Now provide the implementation of the command with registerCommand
|
||||
// The commandId parameter must match the command field in package.json
|
||||
|
|
11
package.json
11
package.json
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"name": "pocketmine-ide",
|
||||
"displayName": "PocketMine IDE",
|
||||
"description": "Implementation of external PocketMine/PHP libs",
|
||||
"version": "0.0.1",
|
||||
"description": "Implementation of external PocketMine/PHP libs for Visual Studio Code",
|
||||
"version": "0.0.2",
|
||||
"publisher": "Ad5001",
|
||||
"homepage": "https://github.com/Ad5001/PocketMine-IDE",
|
||||
"keywords": [
|
||||
|
@ -31,7 +31,8 @@
|
|||
],
|
||||
"main": "./out/src/extension",
|
||||
"contributes": {
|
||||
"commands": [{
|
||||
"commands": [
|
||||
{
|
||||
"command": "pmide.indexPhpFiles",
|
||||
"title": "PocketMine IDE - Index PHP Files"
|
||||
},
|
||||
|
@ -51,8 +52,6 @@
|
|||
}
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "tsc -p ./",
|
||||
"compile": "tsc -watch -p ./",
|
||||
"postinstall": "node ./node_modules/vscode/bin/install"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -63,7 +62,7 @@
|
|||
"@types/mocha": "^2.2.32"
|
||||
},
|
||||
"__metadata": {
|
||||
"id": "f6b4e2a7-5b92-41a1-870a-78abef140e5c",
|
||||
"id": "2282a6db-6533-4359-8697-10ccdd4a97de",
|
||||
"publisherId": "96452d5f-7333-47a6-9960-9cf179d6f173",
|
||||
"publisherDisplayName": "Ad5001"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue