Files
openide/plugins/package-search
Konstantin Hudyakov 063aa39a30 Revert "[ui] Fix incorrect usages of JBUI#getInt"
Found that `List.rowHeight` and `Tree.rowHeight` values are already scaled in UIDefaults. So, the usages I changed were correct.
Also, it seems that we can't assume that `JBUI#getInt` always returns unscaled values, because some values in UIDefaults are scaled.

This reverts commit ae91971b88e62f2314904ad8090d3679421435d7.

GitOrigin-RevId: f9f1884e50d92aaa2cc81c5e735adf38f3fcf12e
2023-10-25 10:43:23 +00:00
..
2023-06-19 10:08:16 +00:00

Package Search IntelliJ plugin

This directory contains the IJ plugin for Package Search.

Testing against non-prod backend

By default, the plugin will use the production backend. If you ever needed to test against a different deployment of the APIs, you can temporarily change the ServerURLs.base property value in the DefaultPackageServiceConfig.kt file, for example pointing it to a local instance of the backend such as http://localhost:7676, or a staging environment.

Please note that some tests in the project are not unit tests, but rather integration tests that hit the backend. By default, those tests will be run against the production environment as per the ServerURLs.base value, so changing that will impact those tests. Also, if you make changes to the backend and want to run the plugin integration tests, you should be temporarily changing those tests to hit a local deploy of the backend, not the production one.

You can identify integration tests as being subclasses of the SearchClientTestsBase class.