Skip to content
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

Improvements to --help-defines and --help-metas #8350

Merged
merged 11 commits into from
Jul 10, 2019

Conversation

Aurel300
Copy link
Member

@Aurel300 Aurel300 commented May 29, 2019

  • added references to the manual (will be used in HaxeManual, may be later displayed by IDEs)
  • --help-defines shows parameters
  • links to manual added to metadata completion
  • minor formatting changes

@@ -44,7 +44,7 @@ let get_documentation d =
) flags;
let params = (match List.rev !params with
| [] -> ""
| l -> "(" ^ String.concat "," l ^ ")"
| l -> "(<" ^ String.concat ">, <" l ^ ">) "
Copy link
Member

Choose a reason for hiding this comment

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

Why change the formatting of params?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thought it would be less ambiguous if each parameter is in <...>, since "params" contains multi-word descriptions.

@Gama11
Copy link
Member

Gama11 commented May 29, 2019

Might wanna update the display protocol to include a links field for metas right away (completionItem.ml).

@Simn Simn merged commit cd0a4c6 into HaxeFoundation:development Jul 10, 2019
@Aurel300 Aurel300 deleted the feature/manual-references branch July 10, 2019 09:40
Gama11 added a commit to vshaxe/haxe-language-server that referenced this pull request Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants