Not able to download language packs for extensions other than core extensions - typo3

I have two different TYPO3 9.5.20 installations.
The problem is: In one of both I'm not able to download the German language packages, while on the other it works fine. Both seem to have the same configuration and folder structure.
The not-working installation is telling me 1 language pack not available while trying to download for a single extension.
I tried disabling all non-core extensions except for the ones I want to download the language packages, but that didn't help either.
I was able to download translations for the core-extensions, but all others don't seem to work.
Any ideas where I could look for the problem and compare the two installations or what could cause the problem?

The problem was the enabled feauture newTranslationServer in my LocalConfiguration.php.
This caused TYPO3 to use the translationBaseUrl https://localize.typo3.org/xliff/ instead of https://extensions.typo3.org/fileadmin/l10n/ what resulted in a 404 for all non-core extensions.
I don't know how the configuration got there, but it wasn't on purpose so I disabled it. Maybe this can help someone else.

Related

how to install tabnine manually without ethernet (vs code extension)

Trying to install tabnine vs code extension from a pc with ethernet to a desktop without ethernet access.
I tried to manually install the extension by copying its files from .vscode/extensions folder.
after doing so I received this error:
"tabnine extension was unable to download its dependencies"
any ideas how to solve it?
While this is more a case-by-case question (as many extensions have special dependencies), I am trying to offer some background information for you reference.
Why an extension needs separate downloads
Many reasons but typical ones are,
Make the main downloads from VS Code Marketplace small
Host OS dependent dependencies (language server/debugger or others) externally so that at runtime the extension downloads only for a specific OS.
Many extensions can utilize the new platform specific packaging mode of vsce, but not for old extensions out of maintenance.
Is there a common way for extension authors to specify such separate downloads?
No. VS Code does not have a standard here, so extension authors can do whatever they like.
Tabnine specific
Now back to your question. To learn what tabnine extension wants to download and where on disk those files should be put, your only option is to ask its developer(s) or dig into the source code.
Side Notes
I did internalize many similar extensions for my clients under the product Scarborough for VS Code, so I would like to kindly inform you that many extensions were never designed to work in an environment without internet access. So you might need more hacking than you initially thought.
may be have a problem with your IP location only using vpn and reload

Can't Find certain extensions in CODE-OSS(Open source variant of Visual Studio Code)

I have been using Code-OSS in manjaro linux for some months now and this is the first time I am encountering this. (After I reinstalled manjaro) When I search for e.g, Java Extension Pack or Intellisense I don't get any result in the extension marketplace. I don't know if it's the problem of my setup or everyone is experiencing this. If you know of a solution please tell me.
Thanks in advance
This can be fixed by adding following to product.json:
"extensionsGallery": {
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
"cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
"itemUrl": "https://marketplace.visualstudio.com/items"
}
This can also be fixed by copying product.json from an official build (in the .zip archvie, product.json is under /usr/share/code/resources/app/product.json which contains above lines). Depending on your distribution, exact location may vary.
More information: https://github.com/Microsoft/vscode/issues/1557
As an alternative to manually editing product.json or building whole visual-studio-code-bin from AUR you can use different AUR package - code-marketplace - that patches product.json from Code OSS package (code)
Thank you #Clay for responding. I saw that post prior to me posting this question. Those bits of json code were already in my product.json file but still I was not able to get the extensions. Then I built the VISUAL STUDIO CODE (visual-studio-code-bin) from AUR and now its working normally as expected. I don't know what's the reason behind this,but that's how I fixed it.
Also if someone is reading this and wanna know about the different variants of VSCode then here is the archWiki page for VSCode.
For anyone using the lscr.io/linuxserver/code-server docker container like me, the .json is located at /app/code-server/lib/vscode/product.json.
I've encountered this using OSS Code on Manjaro as well, trying to install the Azure Resource Manager Tools extension. Not sure if this was an option when this question was posted, but you can download the extension (.vsix) file if possible, then bring up 'quick open' in OSS Code using Ctrl+Shift+P, search for "VSIX" and choose "Extensions: install from VSIX" to locate and install the downloaded .vsix file.
After this, the extension was installed and usable in OSS Code, and is also configurable in the extension manager panel.

Duplicate hints while typing expression in Visual Studio Code

Why do I have the same suggestions while typing expression?
Example:
I had exactly the same problem. After a week or so, it get really annoying.
basically, as the comments hint to, there are probably multiple linting or intelisense tools. In my case (for python) i had the pylance extension added.
When i disabled this, the problem went away, but features were missing. So i added it back...
For some reason (i dont know why), this fixed the problem !!!
I can only hypothesise that in some way the extension was corrupted. Nevertheless, it worked.
EDIT:
I can also confirm that unchecking this setting appears to work:
Jupyter: Pylance Handles Notebooks
My current system is Windows 11, with python 3.10.
Final edit (8 Dec 2022):
This is resolved here:
Please could you install VS Code 1.74 and the latest Jupyter, PyLance and Python extension and confirm this still exists.
Visual Studio Code provides an API so third-party extensions and built-in modules can contribute suggestions for auto-completion pop-ups. The system is currently designed so suggestions are merely appended—there's no duplicate detection or removal (perhaps because extensions can also take care of sorting suggestions and such algorithm would get on the way). That means that if you have more than one extension or module for a given language you can easily get duplicate entries.
Having several extensions for PHP is not necessarily a bad idea since they can address different needs (for instance, PHP DocBlocker just creates annotations, it doesn't provide auto-completion suggestions) but you have at least two extensions (PHP Intelephense and PHP Intellisense) that do exactly the same things. That's likely to hurt performance (all your workspace files will be scanned several times) and just adds noise.
I suggest you read the extension descriptions carefully to learn what they do exactly and then figure out which ones you need. Remember that extensions can be enabled/disabled in a per-workspace basis.
The following is just my own totally subjective opinion. Among the PHP extensions that provide code intelligence only two of them seem mature enough:
PHP Intelephense
PHP Intellisense
I've tried both. PHP Intelephense works best for me than PHP Intellisense so that's the one I've kept. I've also disabled php.suggest.basic following the installation instructions because basic suggestions didn't add any value to me (they were blind string matching):
Turn off the php.suggest.basic setting for best results.
... as well as taming builtin Emmet support, which was providing really dumb suggestions:
"emmet.showExpandedAbbreviation": "inMarkupAndStylesheetFilesOnly"
YMMV.
TLDR; Installing pre-release version of Jupyter solves (v2022.11...)
Ok, so after some more extensive experimentation I think I found what's causing this in my case. After looking at the processes I noticed that there were two Pylance processes running, and consistently this would only be a problem if I was working in a session with a jupyter notebook open or one that had been opened.
saun89 17740 37.3 0.3 1008004 199492 ? Sl 20:58 0:22 /home/saun89/.vscode-server-insiders/bin/fef85ea792f6627c83024d1df726ca729d8c9cb3/node /home/saun89/.vscode-server-insiders/extensions/ms-python.vscode-pylance-2022.11.32/dist/server.bundle.js --cancellationReceive=file:9178e897a2b78b36bfd167f79b36c3bdad2931d71b --node-ipc --clientProcessId=17651
saun89 18743 257 0.7 1304584 382288 ? Sl 20:59 0:20 /home/saun89/.vscode-server-insiders/bin/fef85ea792f6627c83024d1df726ca729d8c9cb3/node /home/saun89/.vscode-server-insiders/extensions/ms-python.vscode-pylance-2022.11.32/dist/server.bundle.js --cancellationReceive=file:8744a321767eed92821fd737be4dc7dcfb728284e5 --node-ipc --clientProcessId=17651
Pylance basically spins up a service for the workspace, and then spins up a separate service for the notebook.
Output from "Python Language Server" logs:
Disabling Jupyter removes the duplication, and after installing an earlier version of the extension (v2022.4) this appears to have fully resolved the issue. I'm going to go ahead and log the extension bug once I have something reproducible.
As of 11/30/22, Jupyter Extension Pre-Release version v2022.11.1003281132 is the latest version fixes this issue. Click the gear icon next to the extension and you should see "install another version..." Then you can select version v2022.11.1003281132.

autocomplete in a file without project in netbeans

Is it possible to activate full autocompletion without having the file added to a project?
Maybe with a plugin or any another modification?
I installed the plugin "remote file systems" for netbeans 6.9.1 (php)
(http://www.stoehrer.net/downloads/remotefs/nb-remotefs-0.1.3.zip) to access my linux server over ssh on my windows machine.
Autocompletion doesn't work with it - the files have to be in a netbeans project :(
I also tried the mounting tool "dokan" but sometimes it destroys a file when I save.
Other mounting tools work less well or just show my home folder.
Sorry for my english and thx for your answer.
coudnt solve the problem that way
so i used samba and add the files to a netbeans project
wasnt easy because for some reason
i have to use the ip path ("\\192.168.xx.xxx" and type my smbuser and the password)
to map the drive in windows
on my other pc i didnt need that. dont know why
bye guys
There is an open bug, or as they have called it, the umbrella issue #135222, to aggregate requests and ideas regarding how to
Improve support for editing files that do not belong to a project.
I have just added the suggestion of somehow allowing to define a classpath for files that don't belong to any project. I hope I can soon update this answer with a "there is a better way..." ;-)

Eclipse Configuration Problems

Lately, I am trying to use Eclipse more often, but so far I have shied away from it because I found it so difficult to install new packages. Whenever I find and try to install a new package, the errors panel flashes a batch of configuration errors. It requires this or that package to install this one. And when I find that package, it turns out that package requires another one that I don't have...and it's been a daunting problem for me.
These days I've been running into these configuration errors:
The current configuration contains errors and this operation can have
unpredictable results.
JST Web Core Patches requires feature "org.eclipse.jst.web_core.feature ".
WST Server Core Patches requires feature "org.eclipse.wst.server_core.feature".
Specifically, I'm looking for help to figure out how to get around these errors. (There aren't any informative pages in Google for "org.eclipse.jst.web_core.feature.")
More generally, though, I am wondering what alternatives I have to the internal package management system of Eclipse? (If I'm doing it wrong and the internal system is not as difficult as it seems to me, let me know of that as well!) I've heard of Pulse, but haven't used that much.
are you using 3.4 Ganymede? .. the dependencies should be figured out and selected for you .. in 3.1 there is a 'Select Required' button in the Updates window which is supposed to locate and select for you all the dependencies