
Product
Go Support Is Now Generally Available
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
@aws/lsp-codewhisperer
Advanced tools
To use the CodeWhisperer server behind a proxy, import the CodeWhispererServerTokenProxy
as the server and set up the environment variable HTTPS_PROXY
or https_proxy
to the proxy URL you are using.
You can pass the environment variable to the process or just set it up globally on your system.
export HTTPS_PROXY=https://proxy.example.com:5678
export https_proxy=https://proxy.example.com:5678
or
export HTTPS_PROXY=http://username:password@proxy.example.com:5678
export https_proxy=http://username:password@proxy.example.com:5678
Amazon Q Servers implemented in this package may have dependencies on NodeJS native modules, not available in non-Node.js environments.
To make cross-platform bundle, use bundler that allow overriding modules with compatible alternatives (e.g. Webpack).
NodeJS modules used in this package
path
path
, os
To override modules use next alternatives:
path
- https://www.npmjs.com/package/path-browserifyos
- https://www.npmjs.com/package/os-browserifyThe following Amazon Q configurations can be fetched with the aws/getConfigurationFromServer
request exposed by QConfigurationServer:
The request expects a section
parameter, recognizing the following options:
aws.q
aws.q.customizations
aws.q.developerProfiles
Example:
await languageClient.sendRequest(getConfigurationFromServerRequestType.method, {
section: 'aws.q',
})
// result:
{
'customizations': [customization1, customization2, ...],
'developerProfiles': [profile1, profile2, ...] // (if enabled)
}
Granular requests such as aws.q.customizations
will only return that particular configuration.
Example:
await languageClient.sendRequest(getConfigurationFromServerRequestType.method, {
section: 'aws.q.customizations',
})
// result:
[customization1, customization2, ...]
By default, developer profiles are not fetched. To enable the fetching, the client needs to signal support for them at initialization in the InitializeParams
.
Example:
const params: InitializeParams = {
// ...
aws: {
// ...
awsClientCapabilities: {
q: {
developerProfiles: true
}
}
}
}
FAQs
CodeWhisperer Language Server
The npm package @aws/lsp-codewhisperer receives a total of 134 weekly downloads. As such, @aws/lsp-codewhisperer popularity was classified as not popular.
We found that @aws/lsp-codewhisperer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
Security News
vlt adds real-time security selectors powered by Socket, enabling developers to query and analyze package risks directly in their dependency graph.
Security News
CISA extended MITRE’s CVE contract by 11 months, avoiding a shutdown but leaving long-term governance and coordination issues unresolved.