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

^ outline to include constant & interface - #2973

Merged
Ramya Rao (ramya-rao-a) merged 5 commits into
microsoft:masterfrom
piengeng:master
Jan 17, 2020
Merged

^ outline to include constant & interface#2973
Ramya Rao (ramya-rao-a) merged 5 commits into
microsoft:masterfrom
piengeng:master

Conversation

@piengeng

Copy link
Copy Markdown
Contributor

* 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

@ramya-rao-a Ramya Rao (ramya-rao-a) left a comment

Copy link
Copy Markdown
Contributor

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 Henry Kwan (@piengeng)
Thanks & Welcome!

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

@piengeng

Copy link
Copy Markdown
Contributor Author

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

@msftclas

Microsoft Contribution License Agreements (msftclas) commented Jan 13, 2020

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

@piengeng

Copy link
Copy Markdown
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...

@ramya-rao-a

Copy link
Copy Markdown
Contributor

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

Comment thread test/fixtures/outlineTest/test.go Outdated

// const constFoo = "constBar"

type circle struct {

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

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

@ramya-rao-a

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@ramya-rao-a Ramya Rao (ramya-rao-a) left a comment

Copy link
Copy Markdown
Contributor

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 (ramya-rao-a) merged commit f185987 into microsoft:master Jan 17, 2020
@piengeng

Henry Kwan (piengeng) commented Jan 17, 2020 via email

Copy link
Copy Markdown
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants