Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Complete class aliases whose targets do not exist #605

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Declspeck wants to merge 40 commits into felixfbecker:master
base: master
Choose a base branch
Loading
from Declspeck:autocomplete-add-non-existent-use-class

Conversation

@Declspeck
Copy link
Contributor

@Declspeck Declspeck commented Feb 24, 2018

This commit adds support and a test for the following case:

use Some\Namespace\ClassWhichDoesNotExist;
ClassWhichDoesN| // Completes to ClassWhichDoesNotExist

This is primarily useful in cases where the target class is not indexed for some reason.

This PR is based on #599 so it cannot be merged before that and only the last commit f5b1256 contains new changes.

vinkla reacted with thumbs up emoji
nicolasmure and others added 30 commits November 13, 2017 20:18
felixfbecker and others added 10 commits November 23, 2017 02:38
Copy link

codecov bot commented Feb 24, 2018
edited by ghost
Loading

Codecov Report

Merging #605 into master will increase coverage by 0.34%.
The diff coverage is 90.71%.

@@ Coverage Diff @@
## master #605 +/- ##
============================================
+ Coverage 81.63% 81.98% +0.34% 
- Complexity 910 947 +37 
============================================
 Files 61 61 
 Lines 2075 2231 +156 
============================================
+ Hits 1694 1829 +135 
- Misses 381 402 +21
Impacted Files Coverage Δ Complexity Δ
src/Server/TextDocument.php 75.55% <100%> (+0.18%) 57 <0> (+1) ⬆️
src/Index/AbstractAggregateIndex.php 86.04% <71.42%> (-7.44%) 26 <6> (ø)
src/Index/Index.php 77.41% <82.5%> (+7.6%) 54 <32> (+32) ⬆️
src/FqnUtilities.php 83.87% <90.47%> (+13.87%) 0 <0> (ø) ⬇️
src/CompletionProvider.php 94.34% <96.8%> (-0.17%) 112 <73> (+4)

Copy link
Owner

Is this still relevant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /