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

[SR-8043] No autocomplete for precedencegroups and related keywords #50576

Closed
NevinBR opened this issue Jun 19, 2018 · 3 comments
Closed

[SR-8043] No autocomplete for precedencegroups and related keywords #50576

NevinBR opened this issue Jun 19, 2018 · 3 comments
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. code completion Area → source tooling: code completion source tooling Area: IDE support, SourceKit, and other source tooling

Comments

@NevinBR
Copy link
Contributor

NevinBR commented Jun 19, 2018

Previous ID SR-8043
Radar None
Original Reporter @NevinBR
Type Bug
Status Resolved
Resolution Done
Environment

Xcode 9.4.1
Swift 4.1.2

Additional Detail from JIRA
Votes 0
Component/s CodeCompletion
Labels Bug
Assignee @AnthonyLatsis
Priority Medium

md5: e435cffe1499150c470252354bd33e47

relates to:

  • SR-2496 operator *Precedence does not have any autocompletion

Issue Description:

When defining a precedencegroup, there is no autocomplete for the keywords higherThan, lowerThan, associativity, and assignment.

Furthermore, there is no autocomplete for precedencegroup names (eg. AdditionPrecedence), both when creating a new operator belonging to a precedencegroup and when specifying the relative precedence of a new precedencegroup, as well as for associativity kinds.

@AnthonyLatsis
Copy link
Collaborator

#17649

@AnthonyLatsis
Copy link
Collaborator

Operators that expect precedence groups in their declarations, as well as all precedence group contextual attributes now have completions. Here's a list of all supported completion scenarios:

operator +++: #^HERE^#

precedencegroup P {
  attribute: value #^HERE^#

  associativity: #^HERE^#
  higherThan: #^HERE^#, #^HERE2^#, ...
  lowerThan: #^HERE^#, #^HERE2^#, ...
  assignment: #^HERE^#
}

@AnthonyLatsis
Copy link
Collaborator

Wildchild9 (JIRA User), could you please elaborate if you've met an issue?

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added the source tooling Area: IDE support, SourceKit, and other source tooling label Feb 6, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. code completion Area → source tooling: code completion source tooling Area: IDE support, SourceKit, and other source tooling
Projects
None yet
Development

No branches or pull requests

2 participants