intellij : "search results are not loaded check the internet connection" - intellij-idea

Using Intelliji for Java, I'm trying to get cucumber plugin, so i go to the file dropdown menu and go to settings menu and go to plugins. I type in cucumber in the plugins search bar. But nothing is found in the search results.
The message given is " search results are not loaded check the internet connection "
I also get " marketplace plugins are not loaded. Check the internet connection and >refresh< "
My internet connection is fine. I've already downloaded a load of dependancies using maven via intellij. the refresh button doesn't help. Why does intellij think the problem is no internet connection? How do I get intellij to find plugins?

I needed to set up a proxy under Appearance & Behavior Settings, System Settings, HTTP Proxy. I selected auto detect proxy settings. After this I was able to see plugins in the marketplace window.

For me I was able to get the marketplace working when I went to
Configure>Settings>HTTP Proxy Settings> Auto-detect proxy settings>Automatic Proxy configuration URL: https://plugins.jetbrains.com
Actually it seems to be working even without the Automatic Proxy configuration URL disabled

The changes of the settings work for me:

As mentioned in one of the comments on this link, I made the following changes:
Enabled Auto-detect proxy settings under Appearance & Behavior > System Settings > HTTP Proxy.
Removed the below flag under the Help > Custom VM Options.
-Djsse.enableSNIExtension=false
Restarted Intellij after making these changes. Made these changes on Intellij Ultimate 2019.3.3

There are a couple of things you can try.
I will start with what worked for me!
I felt my IP was blocking the plugins, I enabled the VPN and it worked!
for some version IntelliJ looks for plugins using HTTP protocol instead of
HTTPS, so add the following lines
IntelliJ bin folder-> idea.properties,
idea.plugins.host=https://plugins.jetbrains.com
try disabling the SNIExtension, Help->Edit Custom VM options
Djsse.enableSNIExtension=false

Such questions we should refer to the log of IDEA at first.
visit the menu Help ~> Show Log in Exporer, will open the directory of log,
For me,the log file is C:\Users\lawev\AppData\Local\JetBrains\IntelliJIdea2020.1\log\idea.log.
open the file we can find such contenet
2020-09-10 12:39:16,795 [ 158219] INFO - ateSettings.impl.UpdateChecker - failed to load plugin descriptions from https://plugins.jetbrains.com/idea: SSL error probably caused by disabled SNI
Now I see ,visit the menu Help ~> Edit Custom VM Options, check or add this line
-Djsse.enableSNIExtension=true
now it's ok!
my envirment is win10 1909,Intellij UI 2020.1

Starting IntelliJ (2019.2.1) on Windows 10 64-bit in Admin mode fixed this for me.

in my case, my goland settings somehow get corrputs, i delete the folder ~/.GoLand2019.2, and restart goland, then the marketplace works.

in my case, it happen because your internet service provider/ISP block https://plugins.jetbrains.com. There is 2 ways i solve it:
Before i use Sm'rtfren SIM Card Phone(from my country) provider which is can not load marketplace plugin. Then i switch to Tr'e SIM Card Phone provider and it works!
You can use UrbanVPN Desktop software, i use windows version. it will change ISP IP and then it works!

I encounter the similar problem in Android Studio when I want to install the Flutter& Dart plugins .
For me,I install Shadowsocks vpn proxy(https://github.com/shadowsocks/shadowsocks) in my computer.Then I change the Shadowsocks vpn proxy to global mode. After this I was able to see plugins in the marketplace window.Hope it can help you

Related

Cannot see Application server in Tomcat Server

I am building a web app from scratch in Intellij Ultimate version, I can see there the Tomcat and EE is enabled in plugin, as per below:
enter image description here
but when I go to Add configuration, the Application server is blank, and cannot see either when click the dropdown list, does that mean I dont have tomcat installed:
enter image description here
anyone else had the similar issue?
Confirmed with JetBrain that Integration for tomcat is pre-installed in the IntelliJ IDE. However the Tomcat itself - is not. Thus, I need to download Tomcat from https://tomcat.apache.org/download-10.cgi and define the path in IntelliJ IDEA. All good now, I had configured my tomcat and working as expected now.

I cannot edit http files or use the http client on IntelliJ, how can I resolve this?

I am trying to learn Spring Boot and as part of this I need to send http requests to test the functionality of the API I have created.
When following along with this video, the teacher had an 'actions for URL' selection which I do not see in my own editor. Note that the point in the video I linked shows this.
After updating (to IDEA 2021.1) and restarting I still could not see this option.
I tried to create my own .http file, but am not able to work with this type of file.
After more research I found that I should have a plugin called 'http client' installed by default. I cannot find this in my installed plugins or by searching through the marketplace.
When downloading and installing manually (from here), I now get this error which I cannot resolve.
Please can someone give me a pointer to get this plugin working.
I assume you're using the Community Edition, so it probably doesn't have it since according to the JetBrains blog, HTTP Client is built-in on the Ultimate Edition.
You can also check the zip file for the plugin here.

Does Apache Zeppelin have intellisense?

Does Apache Zeppelin have intellisense/auto-completion support in its notebook ui?
if so how do I use it?
I tried searching on the internet but was unsuccessful to find a source which works. This https://github.com/NFLabs/zeppelin/issues/248 says to use ctrl-, but it did not work. I wonder whether intellisense support was removed after the project was moved to Apache.
After going through the Jira of Apache Zeppelin I found that they have used Ctrl+. as the auto-completion shortcut key. And it works.
Here is the screen shot of all key board shortcuts(Apache Zeppelin Version 0.8.2) including auto completion.
for auto completion of show is like below screen shot

Bring back closed Remote Host Window on PHPStorm

I accidentally closed () the remote host window in a project of PHPStorm and i can't get it back.
It isnt in View->Tool Windows.
And is also enabled in Plugin Settings Page
Ok I succesfully bring it back by browsing Tools | Deployment | Browse Remote Host :D
Please check if the following options are enabled in settings(Ctrl+Alt+S). It goes uncheck if Php Storm crashes. Check the below options and restart the editor. You will layout restored. (sometimes when editor crash and these gets unchecked).
This works for ver 2017.2.1
Also, check Windows->Store current layout as the default just to make sure in the future you can restore the layout.

Does IntelliJ have an internal web server to serve static content of a web application?

Right now, the directory of my module is defined as an IIS virtual directory and IIS serves the files.
I was wondering whether IntelliJ has an internal web server, which can serve the files, without the need for any third party. Eclipse does.
UPDATE: built-in web server is available in the recent IntelliJ IDEA versions (starting from 13). You can find more details in the blog (yes, this feature first appeared in WebStorm).
IntelliJ IDEA has no this feature, you need to install and use any third-party web server that can serve the content from the project folders.
A built-in HTTP preview server will be part of Intellij IDEA 13 and is already available in the EAP: http://youtrack.jetbrains.com/issue/WEB-7148
"All existing actions — preview in browser (pop-up over html file or menu action or
shortcut), open in browser and create/debug html file action now open file on built-in web
server
http://localhost:63342/<project name>/<file path relative to source or content root>"
In other words, right-click on an HTML page and select "Debug" or "Open in browser", and IDEA 13+ will serve up that page via port 63342.
Here's another super simple option, install Python: http://www.python.org/getit/
Then open a shell prompt, navigate to your root web folder (e.g. public) and run python -m SimpleHTTPServer - This starts an HTTP Service on port 8000.
Further reading should you need it: http://www.linuxjournal.com/content/tech-tip-really-simple-http-server-python
I've got mine running on Windows 7 but the above article still applies.
Another option is is create a PHP project that, starting with v 5.4.0 of PHP includes a built in web server. This page explains it all ...
http://www.jetbrains.com/idea/webhelp/php-built-in-web-server.html
IntelliJ IDEA has a built-in web server that can be used to preview and debug your application. Just watch this YouTube video or follow the steps below.
Option 1
You need to add new 'JavaScript Debug' configuration:
Click Add Configuration... or Edit Configurations... in the Navigation bar
Click button in the toolbar or press Alt + Insert to create a new configuration
Select JavaScript Debug under the Templates node in the tree view of run configurations
Fill in Name, URL, Browser and click [OK] to save the configuration
Use http://localhost:63342/YOUR-PROJECT-NAME/index.html for URL
Now you can run the configuration:
Click run or debug button in the Navigation bar (or use Shift + F10 / Shift + F9 hotkeys).
Option 2
Running web page in browser without creating a configuration. Refer to the related IntelliJ IDEA Help article.
In the editor, open the HTML file. This HTML file does not necessarily have to be the one that implements the starting page of the application.
Do one of the following:
Choose View | Open in Browser on the main menu or press Alt+F2. Then select the desired browser from the pop-up menu.
Hover your mouse pointer over the code to show the browser icons bar: . Click the icon that indicates the desired browser.
Result
Google Chrome browser with a demo web page served by the Intelij IDEA's built-in webserver:
One simple way is to create a NodeJS / Express project in IntelliJ that is your web server. You can then use it to serve your static web pages and any other web content. The NodeJS web server is very small and runs fast - noticeably faster than IIS and Apache. Best of all you can just hit the Run button in IntelliJ or WebStorm to start it up.
By default, a NodeJS / Express project includes a public/ directory that you can use to contain your static pages that you can then view from http://localhost:3000/
This explains the steps required to enable NodeJS in IntelliJ and includes links to other Node resources:
http://www.jetbrains.com/idea/webhelp/node-js.html
If you feel the need, you can reconfigure your NodeJS server using server side Javscript code. You can add SSL support or almost any other server side features you care to dream up. Just add NodeJS modules using the npm (Node Package Manager) command line tool included with the install. NPM Registry https://npmjs.org/ indexes all the available modules.
You can configure IntelliJ to use a lot of different application containers, but each of them must be downloaded and installed separately. I currently have mine configured to serve via jetty, like eclipse, and also tomcat, tc-server, jboss, and node.js. It's pretty easy to set up.