Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

^ outline to include constant & interface #2973

Merged
merged 5 commits into from
Jan 17, 2020

Conversation

piengeng
Copy link
Contributor

@piengeng piengeng commented Jan 9, 2020

* pending merge by github.com/ramya-rao-a/go-outline, sent pull request at ramya-rao-a/go-outline#10.
* `interface` to follow `struct`'s regex approach
* maybe the SymbolKind for type should be TypeParameter
Copy link
Contributor

@ramya-rao-a ramya-rao-a left a comment

Choose a reason for hiding this comment

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

Looks like this is your first PR contribution to this project @piengeng
Thanks & Welcome!

Can you please update the test for outline to cover the struct and interface cases as well?

@piengeng
Copy link
Contributor Author

what's the minimum command line to run the **/extension.test.ts?

@msftclas
Copy link

msftclas commented Jan 13, 2020

CLA assistant check
All CLA requirements met.

@piengeng
Copy link
Contributor Author

nvm, turns out i need to close any vscode after running npm run test, when the test just idling, i need to start vscode again. not sure if it will mess up my existing vscode editor...

@piengeng piengeng requested a review from ramya-rao-a January 13, 2020 07:17
@ramya-rao-a
Copy link
Contributor

I usually chose the the test related debug configuration and then run that using F5

@@ -6,6 +6,12 @@ import (

var _ string = "foobar"

// const constFoo = "constBar"

type circle struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't this be interface and not struct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ramya-rao-a you're right, just another stupid mistake. already update to my master.

@piengeng piengeng requested a review from ramya-rao-a January 16, 2020 07:15
@ramya-rao-a
Copy link
Contributor

The build is failing at the linting step with the below error:

ERROR: /home/travis/gopath/src/github.com/microsoft/vscode-go/test/integration/extension.test.ts:519:38 - " should be '

@piengeng
Copy link
Contributor Author

I've tried, too complex for me, closing instead.

@piengeng piengeng closed this Jan 17, 2020
@ramya-rao-a ramya-rao-a reopened this Jan 17, 2020
Copy link
Contributor

@ramya-rao-a ramya-rao-a left a comment

Choose a reason for hiding this comment

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

No worries, I pushed 2 commits to fix the tests

@ramya-rao-a ramya-rao-a merged commit f185987 into microsoft:master Jan 17, 2020
@piengeng
Copy link
Contributor Author

piengeng commented Jan 17, 2020 via email

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants