I am having trouble with zsh autocompletion for IBM Cloud CLI tools.
I put the following line into my .zshrc, but don't get autocompletion working.
source /usr/local/ibmcloud/bx/zsh_autocomplete
According to the developer, this feature is not implemented yet, although documented.
Fix expected in version 0.9.
https://github.com/IBM-Cloud/ibm-cloud-cli-release/issues/49#issuecomment-415593301
Related
I am trying to create an extension. The catch is that I am doing this on a server to which I am connected with the ssh extension.
I am using yo for the boilerplate and I follow the basic steps here to create a hello world project.
When I launch the debugger with F5, a new VS Code instance on the remote server is launched, but the extension is not installed in that instance. I am also not able to execute the command.
As side-information, this is a raspberry Pi, so its 32 bit arm.
So the question is, is this generally possible to develop extensions on a Remote Host and if so, could the issue be related to the architecture of the Pi?
I could probably delete this question, but I will answer instead, maybe one day someone has the same problem.
When running yo code, the generated manifest will mark the extension as compatible with the latest VS Code engine. This may or may not be the version that is actually installed on your system.
"engines": {
"vscode": "^1.56"
}
For this example, the version is 1.56. When I check for the installed version I see its 1.55.2 though.
$ code -v
1.55.2
3c4e3df9e89829dce27b7b5c24508306b151f30d
arm
When setting the engine in the manifest to at max the version in your system, it works as described in my question above.
Logically, if the version is too high, the extension won't be installed in any workspace.
I found this page also helpful, for the topic in general -> https://code.visualstudio.com/api/advanced-topics/remote-extensions
I recently enrolled in a SQL course on EDX and we have to create a DB using IBM cloud. Also, we have to use VScode and connect it to IBM cloud using an extension called "DB2connect".
I've installed the MAC (as I am using my MacBook) extension but as soon as I try to create a connection I get this error.
''' Command 'Db2: Manage Connection Profiles' resulted in an error (command 'extension.Db2ManageConnProfiles' not found)'''
Any advice on how to fix the issue? I've seen similar questions on their Github account but I haven't found any solution besides uninstalling and installing the extension.
Per comment thread, missing dependency.
VSCODE Db2connect extension needs specific versions of npm, node.js, ( and on Mac, also Xcode ) to be already installed.
For VSCode Db2connect issues, you can also refer to the github issueses page https://github.com/ibmdb/vscode-extension/issues
(also accessible within VSCode Db2connect > Report an issue )
I'm using Zerobrane and Corona SDK for my Lua project and would like to save my work and use version control to revert easily to an older version if necessary.
I haven't found any way to do that with Zerobrane and noting mentioned in the documentation.
Do you have any recommendation for version control using these tools? I'm also open to any online service (Github or similar....)
The simpler, the better !
There is an experimental version control module that supports svn (https://github.com/Minebea-Intec/zbssvn), but no other version control integration that I'm aware of. I'm using git from the command line and the IDE will recognize that the file on disk has been updated and will reload it in the editor (if it's already open).
I am trying to deploy a Java project into Google App Engine from Eclipse and am blocked by JSPs.
Everything JSP makes my app not capable of deploying due to "'utf8' codec can't decode byte" error.
Not trying to insert any strange (not UTF-8) character, everything Eclipse is set to UTF-8.
Tried to send archives which were OK with the Google App Engine Tools for Eclipse (soon to be deprecated), won't deploy.
I've seen threads regarding reverting the Google Cloud Tools for Eclipse plugin to previous version (1.58 seemed to avoid a few problems) being a possible solution to these recent errors but I have a problem installing, the batch just tells me "Install will exit" ?!
Tried to uninstall previous (latest) versions before, made sure I was launching the bundled-python batch, still not capable of installing an old version of the Google Cloud SDK shell.
Would be glad if anybody had any suggestion at what makes my install fail.
Thanks in advance.
There are a few ways you can get older version of Google Cloud SDK.
Download versioned archive
(If you are on windows) Grab google-cloud-sdk-XXX.0.0-windows-x86_64-bundled-python.zip file.
Unzip it to some\dir
Add some\dir\google-cloud-sdk\bin directory to your system path
Restart your command prompt (or other apps which depend on gcloud) and run for example gcloud info, it should be fully functional installation, no need to run install.bat.
Alternatively, use existing SDK installation and gcloud component manager to go back to previous versions. For example
gcloud components update --version 158.0.0
target by version number using apt-get :
sudo apt-get install google-cloud-sdk=294.0.0-0
I read that Eclipse Che uses Eclipse Orion as its code editor but, while multiple languages seem to be supported in Che, such information for Orion seem to be quite outdated and only JavaScript and other webdev seem to be supported. So:
Like Che, does Eclipse Orion also have editor plugins for
Java
Python
C/C++
and do those plugins have features like
(a) Syntax highlighting
(b) Code completion
(c) Error detection and smart suggestions
(d) Rename refactoring...?
PS1: For my EC2, I could have used Che, but all I want is only its browser IDE without docker containers etc. Besides, running Che on EC2 apparently requires some ephemeral ports to be opened to the world because of docker etc.
PS2: Cloud9 would have worked but it doesnt have SSH access for free version.
Eclipse Orion does not have language tooling for Java, Python or C/C++. Only syntax highlighting is implemented for those languages.