Skip to content

Commit 206979b

Browse files
committed
053
1 parent e3ca54a commit 206979b

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,7 @@ All notable changes to the "php-namespace-resolver" extension will be documented
106106
## 0.5.1
107107

108108
- show output panel when phpcommand fails
109+
110+
## 0.5.3
111+
112+
- allow the extension to work regardless of parsing errors

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "php-namespace-resolver",
33
"displayName": "PHP Namespace Resolver",
44
"description": "Import and expand php namespaces",
5-
"version": "0.5.2",
5+
"version": "0.5.3",
66
"publisher": "ctf0",
77
"author": "ctf0",
88
"repository": "https://github.com/ctf0/PHP-Namespace-Resolver",

src/Parser.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ import * as vscode from 'vscode';
33

44
const Parser = new PhpParser.Engine({
55
parser: {
6-
locations : true,
7-
extractDoc : true,
8-
extractTokens : true,
6+
locations : true,
7+
extractDoc : true,
8+
extractTokens : true,
9+
suppressErrors : true,
910
},
1011
ast: {
1112
withPositions: true,

0 commit comments

Comments
 (0)