Skip to content

Update regex for c-based file extensions#10379

Merged
vzhukovs merged 1 commit intomasterfrom
che#10285
Jul 12, 2018
Merged

Update regex for c-based file extensions#10379
vzhukovs merged 1 commit intomasterfrom
che#10285

Conversation

@vzhukovs
Copy link
Copy Markdown
Contributor

@vzhukovs vzhukovs commented Jul 11, 2018

What does this PR do?

This changes proposal updates regex for c-based file extensions which opens with language server in editor. The problem was that we have special naming for the command items: path is /commands/{goal}/{name} and display name is {name}.che_command_internal and it conflicted with clangd language server because it provides the regex for those file types: .*\.(c|h|cc|hh|cpp|hpp|cxx|hxx|C|H|CC|HH|CPP|HPP|CXX|HXX). Adding $ to the end of the regex fixed problem, now command item successfully open in command editor.

Check regex online: https://regexr.com/3s9lv

Signed-off-by: Vladyslav Zhukovskyi vzhukovs@redhat.com

What issues does this PR fix or reference?

#10285

Release Notes

N/A

Docs PR

N/A

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
@vzhukovs vzhukovs added kind/bug Outline of a bug - must adhere to the bug report template. team/ide severity/P2 Has a minor but important impact to the usage or development of the system. labels Jul 11, 2018
@vzhukovs vzhukovs added this to the 6.9.0 milestone Jul 11, 2018
@vzhukovs vzhukovs self-assigned this Jul 11, 2018
@vzhukovs
Copy link
Copy Markdown
Contributor Author

ci-build

@vzhukovs
Copy link
Copy Markdown
Contributor Author

ci-test

@benoitf benoitf added the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Jul 11, 2018
@vzhukovs
Copy link
Copy Markdown
Contributor Author

ci-build

@riuvshin
Copy link
Copy Markdown
Contributor

ci-test build report:
Build details
Test report
selenium tests report data
docker image: eclipseche/che-server:10379
https://github.com/orgs/eclipse/teams/eclipse-che-qa please check this report.

@vzhukovs vzhukovs merged commit 578434f into master Jul 12, 2018
@vzhukovs vzhukovs deleted the che#10285 branch July 12, 2018 16:08
@vzhukovs vzhukovs removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants