Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>GB Composer package nameNew to Visual Studio Code? Get it now.
GB Composer package name

GB Composer package name

Glowing Blue AG

|
655 installs
| (0) | Free
Command to get the package name of the currently open project by parsing composer.json
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GB Composer package name

Features

Adds a command to get the package name of the currently open project by parsing composer.json.

"commands": [
	{
		"command": "glowingblue-composer-package-name.getName",
		"title": "GB Composer: Get Package Name"
	}
]

This commands just returns a string.

This can be used in configuration files to access the package name as a substitution variable (${command:glowingblue-composer-package-name.getName}).

Example:

Path mapping for debugging JavaScript:

"pathMappings": [
	{
		"url": "webpack://${command:glowingblue-composer-package-name.getName}/src/",
		"path": "${workspaceFolder}/js/src/"
	}
]
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft