- Updated stubs
- phpdoc
double
normalised tofloat
. - Crash on fetching embedded language folding ranges.
- False duplicate function name.
- Concrete class method is allowed to have different signature to trait abstract method.
- Doc block formatting.
- Excluded files getting indexed on
workspace/didChangeWatchedFiles
notifications. - False type diagnostics for some built-in symbols.
@mixin
support. Premium- Signature help offset label support.
SymbolTag.Deprecated
support for workspace and document symbol requests.- Added new setting
intelephense.rename.namespaceMode
that can be eithersingle
(default) orall
. When set tosingle
a rename of a namespace will only affect the symbols defined in that single file. This is the equivalent of a single 'move class' operation. Previously renaming a namespace would affect all symbols that shared that namespace across multiple files. Setting to the value toall
will produce the old behaviour. Premium
- Updated stubs.
- Upgraded vscode-languageserver to 7.1 beta.
intelephense.files.exclude
globs without path separators are no longer prefixed with**/
. BREAKING- URIs are now normalised to vscode-uri format.
- Rename requests that fail now return
ResponseError
with appropriate code and message rather than returning null and sending a separate notification. intelephense.environment.shortOpenTag
now defaults to true. BREAKING- Tolerate property annotations with missing
$
in property name.
- Parser failing on alternate switch syntax.
- False
parent
static call warning in anon class. - Division returning
int
instead ofint|float
. - Refs not found when inside encapsulated expression used as member name.
- Formatting of immediately invoked function expr following phpdoc.
- Completion item detail showing
namespace ...
instead ofuse ...
for existing imports. - Completion item not including additional import edit when symbol shares current namespace but symbol short name is already used.
- Nested regions not folding.
- Property doc inheritance.
- Inline
{@inheritdoc}
. - Files that are excluded but have textDocument/didOpen sent are now ignored.
- protected visibility when accessing subtype method from supertype.
intelephense.phpdoc.useFullyQualifiedNames
not overridingintelephense.completion.insertUseDeclaration
.- False not in object context error in arrow function.
- Multiline
unset
formatting. - Goto definition from callable arrays using
MyClass::class
expression. - Wrong
json_encode
parameter name. - PHPUnit metadata causing
createMock
to returnstring
. - Indexing not working on Apple M1.
- False diagnostics for some built in functions that have multiple signatures.
- Format bug with shebang and
__halt_compiler
. - Intellisense breaks with doc blocked class inside namespace body.
$/cancelRequest
not working.- Wrong range reported for duplicate symbol diagnostics with attributes.
- Various cannot read prop of undefined.
- Incorrect method compatibility diagnostics with union types.
- User function named
string
not found. - Wrong type resolved for
static[]
return type inIteratorAggregate::getIterator
. - Incorrect argument count diagnostics when required parameters follows optional.
match
formatting.
- Deeper code diagnostics will only be run if file is free of parse errors.
- Endless parse loop when encountering parse error in argument lists in some contexts.
- Named parameters not suggested in method, constructor, attribute calls.
- Attribute formatting.
false
,null
,mixed
reported as undefined types.- Attributes on methods breaks code intelligence.
- False type error when return type is
static
. implements
name list always formatted on next line.
- PHP 8 support.
- Rename functionality in embedded HTML/JS. Premium
intelephense.environment.includePaths
can now be relative to workspace folder.- PHP 8 is now the default PHP version.
- Updated stubs.
- Updated to recent vscode html lang server.
- Updated to jsbeautify 1.3.
- Updated to node-language-server 7 and LSP 3.16.
- Find all implementations fails after closing and reopening window.
- User types named
Boolean
,Integer
,Resource
being confused with phpdoc lowercase types of same name. - Laravel
Str
not showing in suggestions. - False implementation diagnostic for method overrides with default params.
- Declaring
$argv
in function scope always gives undefined variable. - If/else formatting where if/else do not have braces but nested statement does.
- Wrong formatting when
default
is used as name of const, method etc. - Incorrect heredoc formatting error msg.
- No folding for alternate if/else statements.
- Incompatible method not diagnosed when base method param has default arg.
- False static call of non static method when call scope is in type heirarchy.
- No hover/goto/rename on static protect variables.
- Protected static functions not found when in type heirarchy.
- Trait methods not found when using
insteadof
. - Magic constants should be case insensitve.
- False implementation error with multiple traits with same function where one is abstract.
- Short ternary expr always resolving to the falsey type.
- HTML/CSS path completion always relative to workspace folder.
- Magic methods not suggested when visibility modifier is private.
- Parse error with prefix increment array dereference expressions which caused false undefined variable errors.
- Intellisense fails when '@return self` used for interface methods.
- Formatting errors with goto labels.
- Signature diagnostics incorrectly checking against base annotated methods.
- Crash when using reference array destructure eg
[&$var] = [$num];
. - False implementation errors when trait uses trait containing abstract method.
@var
annotations and function static variables.- False undefined method when calling parent method that has
__call
defined egparent::magic()
. - False undefined global variable errors.
- False type error when passing
$this
to a function call inside trait.
- User symbols declared with annotations not overriding vendor definitions.
- Return type of anon function passed as argument is
Closure
. - Duplicate private method names not showing error.
- Incorrect type assigned to variables passed to function with variadic by ref parameter.
@var
ignored when declaring function static variable.- False undefined var/param when multiple methods declared with same name.
- Fix issue with included files getting forgotten on close.
- Undefined symbols being shown when project first opened and indexing is in progress.
} else
formatting problem.- rename/references not working.
- Folders can now be included from outside the workspace using the
intelephense.environment.includePaths
setting. - Class does not implement all abstract methods diagnostic.
- Type check diagnostic on unpack operand.
- Method override/implementation signature check diagnostic.
- Import symbol code action Premium
- Implement all abstract methods code action Premium
- Add PHPDoc code action (in addition to existing
/**
trigger) Premium
- Updated stubs.
- BREAKING Workspace folders are now considered isolated from each other. Use the
intelephense.environment.includePaths
to allow sharing of symbols across workspace folders. - Improved handling of methods with multiple signatures defined by
@method
. - Where symbol names clash then definitions that are NOT vendor definitions are preferred. Previously a union of all definition types was used. This permits user overriding of vendor symbols through the use of helper stubs in the workspace.
intelephense.environment.documentRoot
andintelephense.environment.includePaths
are now resource (folder) scoped settings.- Method override/implementation completion will now add use declarations (if configured) instead of always using FQN for parameter and return type declarations.
- Type FQN can be used in workspace symbol search.
- Formatter no longer enforces single space between cast operator and operand as this is not specified by PSR12.
- Region and comment code folding now folds to a single line.
- no definition/hover for private and protected methods in some contexts with
self
or$this
. - False unexpected heredoc indentation diagnostics.
@var
annotations failing in consecutive foreach loops using same variable name.- Fomatting problem for
if
/else
without braces. - False deprecated nested ternary when nested short ternary expressions are used.
- False undefined variable for for subscript expressions in
isset
. - False return type error when return
$this
from trait. - Last region in a block cannot be folded.
if
,else
formatting withallman
brace setting.- Fixed index state becoming corrupted during some add and remove operations.
- False undefined method on interfaces when method call follows property access expression.
- Method header completion missing ampersand and elipsis for reference and variadic params.
- Incorrect type for annotated variadic parameters.
- Diagnostics not clearing when files outside of workspace are closed.
- Signature help failing when call inside of an array element list.
- Variables not being suggested when declared using annotations.
- Variables not being suggested in subsequent branch when declared in sibling branch.
- Type inferrence with loose null equality.
- Initialise problem with short tags.
- Function return type incorrect when contains switch.
- False undefined var for additional params in method override.
- False undefined type err when using NAMESPACE::class.
- Static member completion failing when php version cant be parsed.
- Format inserting stray whitespace at beginning of file.
- False error on foreach arg when type is
iterable
. @var
typehint failing if preceeded byif
statement.
-
Compatibility settings to enable working with some common type annotations that may not accurately reflect intended type.
intelephense.compatibility.correctForBaseClassStaticUnionTypes
resolvesBaseClass|static
tostatic
instead ofBaseClass
.intelephense.compatibility.correctForArrayAccessArrayAndTraversableArrayUnionTypes
resolvesArrayAccessOrTraversable|ElementType[]
toArrayAccessOrTraversable<mixed, ElementType>
.
-
Added settings to control formatting of braces. Options are
psr12
,allman
,k&r
. -
Go to definition and references for callable strings.
-
Completion suggestions marked with deprecated tag where appropriate.
-
Language constraint and version dependent (5.3+) diagnostics. Can be controlled with
intelephense.diagnostics.languageConstraints
. -
Short open tag setting
intelephense.environment.shortOpenTag
. Defaults tofalse
. -
Added wordpress globals to built-in stubs.
-
Added
intelephense.references.exclude
setting to excluded files/folders from reference search. Defaults to**/vendor/**
. -
Added type diagnostics for LHS of member access expressions and foreach argument.
-
Implemented smart select -
textDocument/SelectionRange
. PREMIUM
- Unions with
mixed
resolve tomixed
. Previously the other types in the union were preserved. - Updated stubs.
- Added
**/.history/**
tointelephense.files.exclude
default. - Upgraded to node language server 6.
- No space after
use
when formatting. - Division expressions not returning correct type.
- Function static variables not suggested.
- Unused try/catch variable.
- False unused property when used in null coalesce assignment.
- Array type inferrence incorrect and causing performance issues.
- False undefined variable in ternary expressions.
- Boolean addition should return integer.
- Variables being included in auto generated function phpdoc.
- Visibility not checked when determining member access.
- Various
Generator
type inference issues. - Type inferrence problems when using
$this
in instanceof or as a pass by ref argument. - Method override completion not considering
static
. - False unused variables when using
func_get_args
andget_defined_vars
. - Negative constants showing as 'expr' in hover.
- Parser/rename bug for property access expressions inside double quoted strings.
- Updated stubs.
- Crash when reading state from cache.
- Variable assignments in type guards.
- Instanceof typeguard should preserve existing type where appropriate.
- isIncomplete flag not getting set for member completions.
- Files getting closed prematurely when deleted from disk but still open in editor.
- Cannot read
name
of undefined.
- Bottom type
exit
- Updated stubs.
- Imports no longer shown in outline or document symbol search.
- Problem with
$this
andstatic
return types and inheritance. - Completion call chaining with
__invoke
. - Incorrect variable types in completions
- Logical
&&
type guards with negated operand. - Metadata override map types parsed incorrectly.
- Variables of type
bool
becomevoid
after type guard. - False type error for functions that throw exception or exit.
- Element of
array
should bemixed
. - Array of
array
should bearray
notarray[]
. - Removed phpstorm stubs helper symbols.
- Auto phpdoc using type template instead of property template.
- Private method used in callable array marked as unused.
- Wrong type when using array access on variable with type
static
. - Auto phpdoc useFullyQualifiedNames not producing correct short names when false.
- Auto phpdoc for constructors.
- Updated stubs
- Switch statements not folding
- False undefined symbol for dynamic static function call
- No hover for methods named
toString
. - Go to def when there are multiple class and methods with same name.
- False unused variable when passed by ref.
- Show diagnostic for all instances of an unused variable.
- Show parse errors for use declarations, namespace definitons and const not in top statment list. And function, trait, class, interface declarations not in inner statement list.
- Handle overloaded methods.
- Read prop of undefined error when indexing metadata.
- De-dupe member completion suggestions.
- Suppress false embedded language diagnostics.
- Licence activation with proxy.
- Set default stubs to match current bundled php 7.4 extensions.
- Some more hover/completion documentation polish.
- Memory leak where large strings were retained.
- Html/php formatting incorrectly adding large indents.
- Functions imported using group clause syntax being marked as undefined.
- Multiple
@
not being replaced in phpstorm metadata maps. - Variable hover/completion sometimes showing doc from wrong variable.
- Overloaded functions getting lost when restoring from cache.
define
d constants now showdefine(NAME, VALUE);
in hover signature instead ofconst
.- Constants now have
@var
annotation noting type. - Short names now used in documentation signatures.
- Documentation function/methods signatures only wrap when they have more than 3 parameters.
- Added activation event on enter licence key command.
- Regression with type inference giving void type after last update.
- Fixed problem when lexing double quoted strings that start with curly open.
- Only first clode block highlighted on hover.
- Undefined type when referencing parent in trait.
- Use http proxy when activating licence.
- Function overloads lost when restoring from cache.
- phpdoc generation showing
@throws mixed
- PSR-12 formatting fixes.
- Mixed php/html formatting fixes.
- Unsued symbol not showing when there is a class and function with same name.
- constructor hover param types different to method hover param types.
- Invalid return type shown for nullable types in method documentation signature.
- Trailing comma in
isset
andunset
.
- Parser is now backwards compatible regarding PHP 7.4 fn keyword.
- Type hinting
/** @var Foo */
above variable and property assignments now works without variable name as well.
- Stray backslash breaking type inference when using phpstorm metadata overrides.
- Variables declared in conditional blocks missing from completion suggestions.
- Don't assign unset type to variables and properties from unset vars. Assign mixed instead.
- Argument type check not working at times for functions with multiple signatures.
- Ctrl hover on phpdoc reference underlines whole doc block.
- Don't type check undefined variables. Fixes issue when using extract.
- Performance issue when running diagnostics on open files.
- various read prop of undefined errors.
- Config to enable/disable each of undefined types, functions, constants, methods, class constants, properties.
- Config to enable/disable embedded language diagnostics.
- Wordpress stubs which can be activated by adding
wordpress
tointelephense.stubs
.
- Relaxed undefined method diagnostics when calling methods from within traits.
- Relaxed undefined method diagnostics when mixed or object forms part of a union type.
- Relaxed import undefined symbol diagnostics.
- Duplicate type, function, constant completion suggestions when multiple symbol definitions are found in workspace
- Signature help and argument type checking for built in function that have multiple signatures eg session_set_save_handler.
- Variable has void type after used in ternary expression.
- Variables losing original type after instanceof expr in conditions.
- False unused variable when used in short form closure.
- Variable type not inferred when it is an arg of a function call inside a short form closure.
- Relaxed type checking so that it behaves as in 1.2.
- Moved licence key storage from config to global memento.
- Unused catch clause variable diagnostic suppressed.
- removed interbase, wddx, recode from default stubs.
- Changed default file exclude pattern to
**/vendor/**/{Tests,tests}/**
to not exclude frmaework test classes.
- False undefined var in arrow functions.
- phpstorm meta not working when map contains empty string key.
- variable type lost when in single if statements.
- False type error expected type callable. Found callable.
- Types not assigned in short array destructure syntax.
- Type inference breaking in logical and/or expression type guards.
- Type inference breaking in yoda conditions.
- Flashing diagnostics in problem tab.
- HTML/JS/CSS language intelligence not working in some files.
- Phpdoc completion above variable creating function docblock.
- False undefined methods when
__call
and/or__callStatic
is implemented. - Arrow functions failing to parse correctly when defined in argument lists.
- Arrow function return type always void.
- Javascript completion not working.
- Union type comparison always failing.
- unary + and - expr should return specific type if possible.
- PHP 7.4 support.
- Config to enable/disable diagnostics and diagnostic categories.
- Config to set target PHP version.
- Undefined Type, function, constant, member diagnostic errors.
- Deprecated diagnostic hints.
- Support for running diagnostics
onSave
. - Auto phpdoc creation. Triggered by
/**
. PREMIUM
- HTML/JS/CSS language service moved to server.
@global
annotation support removed.- Improved sorting of suggestions.
- Namespace now shows in completion suggestion label in cases where there are similarly named items.
false
andtrue
no longer generalised tobool
.- Improved type inference. Expressions like
($a)
,($a === null)
,($a === false)
now supported. - Global or script level variables must be explicitly
include
d or imported withglobal
. Previously, attempts were made to look up types of script scoped variables always leading to many irrelevant lookups in view files. - Undeclared variables are now given a type of
unset
instead ofmixed
. - Improved merging of declared types and phpdoc types so as to not lose more specific type information.
- Definition requests now use
LocationLink
. - Updated stubs.
- Type checking is more strict for union types. Previously any type could match, now all types must match.
- Extra parentheses added when accepting completion suggestion within existing invocation.
- False scalar type errors when
strict_type=1
is not declared in file. - False type error when object has
_toString
implementation. - No variables imported from
include
when inside function/method body. - Variable type lost if assigned in a control expression.
- False undefined variable diagnostic for self referencing anonymous functions.
- False undefined variable diagnostic on left hand side of
??
. - No completion suggestions when chaining
ArrayAccess
. - Types getting lost when assigning array elements.
- Empty type when hovering property declaration.
- Completion suggestion types not accurate and different to type seen in hover.
- Type narrowing now considers
die
,throw
,exit
as terminating. - Namespace definition breaking type inference.
- Abstract methods being inferred as
void
. - Autocomplete adds
\
tovoid
- Heredoc not recognised as string.
- Premium features not accessible on remotes because outbound https cant be made. Activating on a local php project now also activates for remotes.
- Code folding for arrays,
- Hover for anonymous use variables.
- find all references/rename not working for trait/interface methods.
- max file size.
- Removed upgrade notification that showed every day. Replaced with a notification that appears once per update that reads "Intelephense updated to X.X.X. Click 'Open' to read about the latest features and fixes."
- added upper case __HALT_COMPILER completion as required by phar.
- __HALT_COMPILER is no longer lowercased on format as required by phar.
- trait adaptation list format indent
- maxSize not respected
- overriden method params with default args losing typing of base method
- mixed html/php format indentation
- __halt_compiler has space inserted between keyword and opening parentheses
- code folding in mixed php/html/js/css not working
- additional command palette command to enter licence key.
- Server start notification will show at most once every 24 hours.
- Rename not detecting anonymous function use variables.
- Rename. PREMIUM
- Find implementations. PREMIUM
- Folding. PREMIUM
- Go to declaration. PREMIUM
- Go to type definition. PREMIUM
- Various cannot read prop of undefined errors
- Mixed PHP/HTML if else blocks not indenting correctly on format
- declare directive completion
- completion suggestion order of symbols with same name changed to local > project > builtin/stub > vendor
- use declarations now added in alphabetical order and after any top level comment, script level doc block, or declare directive.
- signature help no longer shows if inside a deep multiline argument. eg inside a closure that is a function argument.
- various cannot read prop of undefined errors
- formatter repeatedly adding spaces to some sections of html/js
- auto complete prefixing array type declaration with \
- documentation sometimes shows raw html instead of markdown table
- features stop working for files/folders containing a
.
- group use declaration list trailing comma
- false unused var/param when used in a member name expression.
- some control structure keywords not being suggested - eg endif, endforeach.
- format enable setting beng ignored.
- false unused use declarations when use declaration is a namespace only.
- auto use decl not creating alias when there is a name clash with a declared class.
- doc block type completion when using union/intersection types
- completion suggestion documentation not showing full documentation of symbol if it is imported.
- Telemetry to report anonymous usage and crash data. Use
intelephense.telemetry.enabled
to configure. Inherits fromtelemetry.enableTelemetry
.
- jsbeautify 1.10.1
- Diagnostics now refresh after indexing completed and when referenced files are edited.
- Format now aborts if a parse error is encountered.
- compiled with strictNullChecks.
- updated stubs.
- Trait property member completion.
- Type inferrence when a conditional block with type guard has return statement.
- Type inferrence for properties when used in type guards.
- Bad formatting when HTML embedded in methods.
- Formatter repeatedly indents commented html.
- Preserve indentation on phpdoc markdown code blocks.
- $this shouldnt be suggested when in static context.
- Various read prop of undefined errors.
- Formatter adding spaces before variables in double quoted string.
- Formatter inserting spaces in else keyword if no if statement provided.
return
not showing in completion suggestions.
- On enter rules for doc blocks.
- Updated stubs.
- vscode-uri 2.0.3
- Bad formatting in mixed JS/PHP script block -- again.
- Use declaration clause completion not working when typing fully qualified names.
- Single level namespaces not indexing.
- Global var hover sometimes shows multiple identical tag annotations.
- Updated stubs.
- Updated stubs.
- Bad formatting in mixed JS/PHP script block.
- Copy and paste argument inserts a space in front of it.
- False undefined variable for anon. use variables when anon function is in script scope.
- Path intellisense for windows paths.
- Cannot read property codePointAt of undefined.
- False unused variable diagnostics when assigning to array.
- Updated stubs.
- Support for PhpDoc intersection types, generic collections, variadic notation, default param args
- File path completion
- Support PHPStorm metadata
- Support .jsbeautifyrc file in project root
- Setting to enable/disable triggering param hints on completion
intelephense.completion.triggerParameterHints
- Setting to run server with alternate node runtime
intelephense.runtime
- Setting to control server memory usage
intelephense.maxMemory
- Setting to declare document root
intelephense.environment.documentRoot
- Setting to declare include paths
intelephense.environment.includePaths
- Global scoped variable completion/hover/definition
- Client now webpacked.
- Plain text documentation support.
- updated stubs
- fast-glob 3
- Improved type inferrence when using asserts, instanceof (negation too), and built in function type guards
- improved keyword completion
- x2+ increase in indexing speed
- Group use declaration formatting
- Range formatting with mixed php/html files
- Formatting removing comments
- False undefined var diagnostics in closures
- Completion not working in anon class argument lists
- Wrong closure signature when inspecting closures that return closures.
- Error when indexing workspace with NTFS junctions
- Auto add group use declaration adding name with backslash
- Unused method diagnostics not considering traits
- Obey LSP client capabilities
- Index workspace now guaranteed to clear cache.
- Various read prop of undefined errors.
- Diagnostics/signature help using overidden base constructor signature.
- Removed mysql from default stubs (can be reenabled by adding
mysql
tointelephense.stubs
setting). - Updated stubs.
- didChangeWatchedFiles and didChangeConfiguration now dynamically registered if client has support.
- bundle extension with webpack.
- micromatch 4
- if statement formatting.
- multi line method header formatting.
- Variable variable false positive diagnostic.
- Diagnose undefined self referencing variables.
- False positive duplicate identifier diagnostics when symbol conditionally declared.
- Various cannot read property of undefined erros.
- Nullable types not displaying correctly in documentation.
- Constant values not showing in documentation.
- Various formatting fixes
- Various false diagnostic fixes.
- cant read property type of undefined with variable variable function calls
- ternary expr formatting
- no completion for magic members
- cant read property values of undefined with built in variables
- doc block formatting
- Removed console.log
- updated stubs
- improved extension activation time and size by using turndown with minidom instead of jsdom
- jsbeautify 1.9.1
- vscode-languageserver 5.2.1
- various false diagnostics.
- various get/set of undefined errors.
- not indexing hidden directories.
- bad method declaration completion when nullable types are used.
- extra / inserted on html end tag completion.
- bad type inferrence on array addition
- should not lowercase keywords that are used as class const and methods
- type changes to properties not being tracked.
- classes with __invoke are valid callable args
- overlapping format ranges
- soft reserved names being treated as reserved.
- preserve comment position when inserting use declaration
- handle nullable types in phpdoc
- dont treat downcasting as type error
- allow $this to be typehinted again
- failed to apply changes errors from open doc being prematurely closed
- member modifiers sometimes not showing as completion suggestions
- range formatting adding random spaces in code
- html request forwarding failing for urls with encoded characters
- mixed html/php indentation.
- defined constants not indexed if define is fully qualified.
- dont grey out method body when identifying unused methods.
- infinite loop when searching for references.
- regression where property types were not inferred from constructor assignment.
- $this type hint being ignored when inferring types.
- fixed $this type resolution when type checking.
- get property of undefined error on closure array dereference call.
- fixed compilation routine skipping object creation arg list.
- js-beautifier 1.9
- various false diagnostics.
- obey tab format options.
- formatting breaks code when close bracket follows a comment.
- crash when attempting to save server state to disk.
- chained function call completion.
- dont store stub references.
- late static binding type inference.
- variable typings lost after assignment in conditional statements.
- intelephense command pallet commands should only be available when language is php.
- updated stub files
- various false diagnostics
- various set/read of undefined errors
- array dereferencing union type arrays.
- freeze/crash when inferring type of global vars
- global function/constant refs not found when not fully qualified in namespaced code
- maximum file size
- correct spaceship operator return type
- parse error when phpdoc immediately follows else
- empty type when iterating over object in foreach
- use cancellation tokens for long running async functions.
- various read/set property of undefined errors.
- various false diagnostics.
- infinite recursion on circular refs.
- parse bug with dollar curly open ${v}.
- completions with dollar curly open.
- parse error on use decl with backslash prefix causing incorrect symbol data to be sent.
- default exlude globs
- various read/set property of undefined errors
- fixed Index workspace cmd causing corrupted open document state
- fixed cancel indexing cmd causing crash
- reference transform recursion limit
- uri/path conversion failing on windows
- Undefined vars, unused symbols, type checking, arg count, duplicate definitions diagnostics.
- Go to, completion, highlight, hover, references inside doc blocks.
- HTML/js/CSS formatting in php template files via js-beautify.
- Detailed hover documentation.
- PHP 7.3 support.
- Trait alias and precedence support.
- Compile time constant values.
global
and@global
support.ArrayAccess
andIterator
support.- Added associations and exclude files config.
- Added stub config.
- Added completion resolve provider
- Improved/refactored compilation and type inference.
- Improved/refactored highlight.
- Improved built-in symbol documentation.
- Improved/refactored caching of symbols and indexes.
- Improved/refactored response to file change events.
- Completions now use
TextEdit
interface. - Document symbols now use
DocumentSymbol
interface. - Changed licence.
- Anon functions now have more concise name.
- Goto on object creation will send location of constructor and class.
- Format now preserves horizontal whitespace where PSR2 allows.
- Various format changes to match extended PSR2.
- Changed names of several config settings.
- Moved indexing to server.
- Nested signature help.
- Various parser fixes.
- Variable variables causing outline and symbol search to not work.
- Buggy completions when name starts with keyword.
__CLASS__
getting lowercased on format.- Various PSR2 formatting fixes.
- Variable completion adding extra
$
.
- Add use declaration command (can use tigger suggestions keybinding to auto add use decl).
- Clear cache and reload (cmd is now
Index workspace
).
- Signature help showing ouside of ()
- Dynamic variable formatting
- Improvements to completion suggestions when typing FQNs
- Signature help not returning a result when in method
- Incorrect parse error with <?= expression lists
- Constructor completion
- Handle undefined range in TextDocumentContentChangeEvent
- lowercase true, false, null
- -> static methods
- Removed debug option in favour of trace
- !== format bug
- crash on merge conflict marker
- workspace activation event
- @method static support
- Dont use snippet or trigger param hints in completion if function/method/constructor has no params
- Use DocumentHighlightKind.read for highlights
- Make private members workspace searchable
- Allow utf8 names
- Backslash prefix default is now false
*.php
always included when finding php files.
- Various PSR2 formatting fixes
- Various keyword completions in class header and body
- Completion item sortText
- Crash relating to anon functions used without assignment
- Import symbol edits existing use decl
- Completions for trait names in use trait clauses.
- Case where private and protected members not suggested inside last function in class
- Crash when no storagePath available
- References not found after first call to reference provider.
- Incorrect symbol kind for built in class constants causing completion crash.
- Fix member completions inside instanceof type guard.
- Improved error handling when reading and writing to cache
- use JSONStream for reading/writing large arrays
- completions for static members with static keyword.
- default public members
- global inbuilt variable completions
- crash when forwarding to html server
- Reference provider
- hover provider
- highlight provider
- Auto add use declarations on completion and associated config option
- Config to enable/disable formatting
- Config to enable/disable backslash prefix of global functions and constants
- Invoke param hints on method/function completion
- phpdoc inheritance
- multi root workspace support
- html request forwarding
- Up to 4 fold improvement in parsing speeds
- Return multiple locations for go to defintion when applicable
- Improved type resolution for phpdoc static and $this
- Caching moved from client to server
- Extra lines and spaces repeatedly added when formatting
- Various PSR2 format fixes
- Completions within closures
- Go to defintion for defines
- Intelephense 0.8.0
- Error on signature help for function with no params
- Format weirdness after comments
- Parse error on unset cast
- Workspace discover errors when textDocument is undefined.
- Intelephense 0.7.2
- Crash when reading anon. classes.
- Intelephense 0.7.0
- PSR2 compatible, lossless document and range formatting.
- Index cache.
- Add use declaration command.
- Indexing of constants declared with define().
- HTML language mode support allowing full HTML/Javascript/CSS/PHP dev experience.
- Improved completions when a use declaration is available.
- Conflicts with docBlocker extension
- Conflicts with local history extension
- Complex string parsing
- null coalesce expr type resolution
- Cleaned up built-in symbol definitions
- Intelephense 0.7.0
- Errors with variable completion inside anon.functions
- Use group declaration parse bug
- Heredoc parse bug
- Crash when encountering parse error on namespace use
- Traits mangling parse tree (php7parser)
- intelephense 0.6.8
- intelephense 0.6.7 (php7parser)
- Sorting of fuzzy symbol matches
- Diagnostics being reported on wrong file.
- Document becoming out of sync when applying multiple changes
- Variable types not resolving in various contexts.
- intelephense 0.6.6
- Shortened name completion item labels to name without namespace prefix.
- Shortened method override/implementation completion labels to just method name.
- Reduced completion spam for extends and implements contexts.
- Rolled back indexing on fqn parts.
- Use directives from other files showing as completion items
- intelephense 0.6.5
- Detail on variable and constructor completion items.
- Indexing on fqn parts.
- Variable types not resolving when on rhs of assignment
- Infinite recursion on cyclical inheritance
- Sort order of backslash prefixed completions
- intelephense 0.6.4
- Completion provider fixes and tweaks.
- Definition provider go to property fix.
- intelephense 0.6.2
- Document symbols provider
- Workspace symbols provider
- Type definition provider
- Signature help provider
- Diagnostics provider
- Completion provider