-
Notifications
You must be signed in to change notification settings - Fork 187
Open
Labels
Description
- Created new file in an exiting composer project
- There's a
Zend\Diactoros\ServerRequestclass available somewhere invendorfolder - Typed:
<?php namespace zzz; use Zend\Diactoros\ServerRequest as SomeRequest; $q = new SomeReq
- Pressed
Ctrl+Space - Observed:
- 'No suggestions'
- In developer console there is suggestion returned, but language server suggests original short class name (
ServerRequestin this case):[Extension Host] Content-Type: application/vscode-jsonrpc; charset=utf8 Content-Length: 878 {"result":{"isIncomplete":true,"items":[{"label":"ServerRequest","kind":7,"detail":"Zend\\Diactoros","documentation":"Server-side HTTP request\n\nExtends the Request definition to add methods for accessing incoming data,\nspecifically server parameters, cookies, matched path parameters, query\nstring arguments, body parameters, and upload file information.\n\n\"Attributes\" are discovered via decomposing the request (and usually\nspecifically the URI path), and typically will be injected by the application.\n\nRequests are considered immutable; all methods that might change state are\nimplemented such that they retain the internal state of the current\nmessage and return a new instance that contains the changed state.","sortText":null,"filterText":null,"insertText":null,"textEdit":null,"additionalTextEdits":null,"command":null,"data":null}]},"id":94,"jsonrpc":"2.0"}
I suspect either vscode-side extension or vscode itself filters this suggestion out because it doesn't match what has been typed.
Couldn't be local alias returned instead?