vscode-extension icon indicating copy to clipboard operation
vscode-extension copied to clipboard

smartAutoComplete not working in lerna monorepo

Open jbockle opened this issue 5 years ago • 4 comments

I'm submitting a bug report

  • Extension Version: 1.0.5

Please tell us about your environment:

  • Operating System: Windows 10

  • Visual studio code version: 1.41.1

Current behavior: I have "smartAutocomplete": true added to aurelia.featureToggles, however in my lerna monorepo I'm unable to get the feature to work when I have the monorepo root folder open. If I open a lerna package folder in vscode instead of the workspace root, it works properly.

Expected/desired behavior: smartAutocomplete works with lerna projects

see https://github.com/jbockle/au-jsonschema-form

jbockle avatar Jan 03 '20 05:01 jbockle

Hi @jbockle, ty for trying out the smartAutocomplete feature.

I definitely need to put up a detailed readme on the limitations of the extension. Unfortunately, I have no experience with lerna projects, possible that it is not implemented for mono-repos. I try to look more into it.

tamagosante avatar Jan 09 '20 11:01 tamagosante

Hey, can you check out this wiki article and see if the following setting helps with the monorepo setup?

	"aurelia.extensionSettings": {
		"pathToAureliaProject": [
			"src", // this is the default
			"some/other/path/one",
			"some/other/path/two",
			"some/other/path/three",
		]
	},

tamagosante avatar Mar 29 '20 14:03 tamagosante

okay thanks! I'll give it a try today

jbockle avatar Apr 01 '20 11:04 jbockle

I looked deeper into your extension. What an interesting use case.

I'll keep this in mind for a complex Monorepo.

Feel free to share more about your workflow, so that I can keep your specific use case in mind.

tamagosante avatar Dec 25 '21 23:12 tamagosante