Skip to content

Conversation

@ckaczor
Copy link
Contributor

@ckaczor ckaczor commented Nov 30, 2018

Fix for #2720

It seems that project files should take priority over CS files - this solution will look for project files first (up to the limit) and then look for CS files (up to the limit) so the project files come first.

It might make sense to skip the CS detection altogether if project files are located but I wanted to keep everything as close to the original implementation as possible to not break any existing use cases.

@dnfclas
Copy link

dnfclas commented Nov 30, 2018

CLA assistant check
All CLA requirements met.

Copy link

@rchande rchande left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM--thanks!

@rchande
Copy link

rchande commented Nov 30, 2018

cc @akshita31

@akshita31
Copy link
Contributor

Looks good to me. Thanks!!

@codecov
Copy link

codecov bot commented Nov 30, 2018

Codecov Report

Merging #2721 into master will decrease coverage by 0.16%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2721      +/-   ##
==========================================
- Coverage   65.54%   65.38%   -0.17%     
==========================================
  Files         101      101              
  Lines        4351     4353       +2     
  Branches      635      635              
==========================================
- Hits         2852     2846       -6     
- Misses       1317     1323       +6     
- Partials      182      184       +2
Flag Coverage Δ
#integration 53.47% <100%> (+0.25%) ⬆️
#unit 85.08% <ø> (ø) ⬆️
Impacted Files Coverage Δ
src/omnisharp/launcher.ts 54.05% <100%> (+0.84%) ⬆️
src/features/documentation.ts 38.09% <0%> (-9.53%) ⬇️
src/features/completionItemProvider.ts 78.78% <0%> (-9.1%) ⬇️
src/features/diagnosticsProvider.ts 80% <0%> (+1.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 799416d...cd83d0a. Read the comment docs.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants