Skip to content

Difficulty with project-level aliases settings format for 2.0 #73

@rcherny

Description

@rcherny

Love the plugin, and have been using it for years, thanks.

However, my project-level alias settings aren't working since the 2.0 upgrade. I updated the settings to what I believe should be the new format for 2.0.

My settings for mapped aliases on my project are as follows:

	"settings": {
		"HyperClick": {
			"scopes": {
				"source.js": {
					"aliases": {
						"@data": "src/data",
						"@shared": "src/components/shared",
						"@templates": "src/templates",
						"@components": "src/components"
					}
				},
				"source.sass": {
					"aliases": {
						"@utils": "src/layouts/styles",
						"@pageStyles": "src/pages/styles"
					}
				}
			}
		},

I just get the red [x] icon next to each import at this point.

Am I doing something wrong with the new syntax?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions