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

Overload NonTerminalNode.findNode() to include start offset and improve related create function code action usage #28936

Merged
merged 2 commits into from
Mar 3, 2021

Conversation

IMS94
Copy link
Contributor

@IMS94 IMS94 commented Mar 1, 2021

Purpose

  1. Overload NonTerminalNode.findNode() method to expose a new API to include start offset when searching for a child node.
  2. Update 'Create Function Code Action' to support undefined methods within records and let expressions
  3. Fix failing tests after updating CommonUtil.findNode() method to include start offset when searching for a node

Approach

See decription + #28921 discussion

Check List

  • Read the Contributing Guide
  • Updated Change Log
  • Checked Tooling Support (#)
  • Added necessary tests
    • Unit Tests
    • Spec Conformance Tests
    • Integration Tests
    • Ballerina By Example Tests
  • Increased Test Coverage
  • Added necessary documentation
    • API documentation
    • Module documentation in Module.md files
    • Ballerina By Examples

@IMS94 IMS94 changed the title Overload NonTerminalNode.findNode() to include start offset Overload NonTerminalNode.findNode() to include start offset and improve related create function code action usage Mar 1, 2021
1. Overload NonTerminalNode.findNode() method to expose a new API to
include start offset when searching for a child node.
2. Update 'Create Function Code Action' to support undefined methods
within records and let expressions
3. Fix failing tests after updating CommonUtil.findNode() method
to include start offset when searching for a node
Copy link
Contributor

@nadeeshaan nadeeshaan left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants