intellij idea eap что это

Встречайте Code With Me (EAP) — инструмент JetBrains для совместной разработки

Мы запустили программу раннего доступа к Code With Me — долгожданному инструменту для совместной удаленной разработки и парного программирования.

Что такое Code With Me

Code With Me — это новая функция IntelliJ IDEA и других IDE на платформе IntelliJ, доступная в свежих сборках версии 2020.2 (2020.2.x). С помощью нее вы и ваша команда можете совместно работать над проектами, не покидая своих собственных IDE. Подключаясь к вам, коллеги могут в реальном времени выполнять ревью, помогать искать причины проблем и работать над кодом вместе с вами. При этом каждый из вас будет по-прежнему оставаться в собственной IDE и пользоваться привычными возможностями автодополнения, навигации, рефакторинга, отладки и встроенным терминалом.

ДАННАЯ ФУНКЦИОНАЛЬНОСТЬ ДОСТУПНА В РАМКАХ ПРОГРАММЫ РАННЕГО ДОСТУПА. ИСПОЛЬЗУЯ EAP-ВЕРСИЮ, ВЫ СОГЛАШАЕТЕСЬ С ТЕМ, ЧТО ФУНКЦИОНАЛЬНОСТЬ МОЖЕТ БЫТЬ НЕСТАБИЛЬНОЙ И СОДЕРЖАТЬ ОШИБКИ, И ПРИНИМАЕТЕ НА СЕБЯ ВОЗМОЖНЫЕ РИСКИ.

ПРИМЕЧАНИЕ: На данном этапе Code With Me предоставляется бесплатно. Однако в дальнейшем Code With Me будет распространяться в виде платного сервиса для разных IDE JetBrains. Сейчас мы разрабатываем линейку гибких цен и планов лицензирования.

Начало работы

Чтобы получить доступ к Code With Me, достаточно обновить версию вашей IDE до последней, а затем установить плагин Code With Me из Marketplace (Preferences / Settings | Plugins Marketplace):

Установив плагин и перезагрузив IDE, вы увидите новое меню на панели инструментов. Здесь вы можете сгенерировать ссылку, с помощью которой ваши коллеги получат доступ к проекту в вашей IDE:

При переходе по этой ссылке на компьютеры ваших коллег автоматически загрузится IntelliJ Client. При запуске он подключится к локальной IDE JetBrains. Если же у ваших коллег нет нашей IDE, то при переходе по ссылке им будет предложено самостоятельно скачать IntelliJ Client. На открывшейся странице будет приведена инструкция по установке.

IntelliJ Client автоматически запустится по окончании загрузки и предложит вашим коллегам подключиться к удаленному проекту, чтобы вы могли начать совместную работу:

Вам будет необходимо подтвердить запрос коллеги на подключение:

Готово! Ниже приведен скриншот успешно созданной сессии Code With Me. В данном случае мы выполнили подключение к собственному локальному проекту:

Более подробную информацию о функциональности и интерфейсе Code With Me вы найдете в документации.

Сценарии использования

На данном этапе мы выделяем следующие сценарии использования Code With Me:

Наверняка есть и другие сценарии использования Code With Me. Обязательно расскажите нам о том, как вы используете (или планируете использовать) нашу новую функциональность.

Совместимость

EAP-версия Code With Me совместима с новыми сборками v2020.2 следующих IDE на базе IntelliJ: IntelliJ IDEA Community и Ultimate, WebStorm, PyCharm Community и Professional, PhpStorm, GoLand, RubyMine, CLion и AppCode. На данный момент функциональность Code With Me несовместима с DataGrip и JetBrains Rider.

Дальнейшие планы

Code With Me все еще находится в активной разработке. Мы планируем включить эту функциональность в один из ближайших крупных релизов наших IDE. Точная дата будет объявлена позже. Она может измениться в зависимости от обратной связи, которую мы получим.

Полезные ссылки

Делитесь своими впечатлениями о Code With Me и обязательно сообщайте о найденных ошибках через баг-трекер.

Ваша команда Code With Me
The Drive to Develop

Источник

IntelliJ IDEA 2021.2 EAP 2: Fast Access to Eclipse Projects, Package Search Integration, and More

Today we start week two of the IntelliJ IDEA 2021.2 EAP. The new build is already available from our website, the free Toolbox App, or via snaps for Ubuntu users.

This EAP build brings quick access to Eclipse projects, Async Profiler for Windows users, a bundled Package Search plugin, changes to pre-commit checks, helpful UI changes, and much more.

Let’s examine the new features in more detail.

User Experience

Quick access to Eclipse projects

If you have Eclipse projects stored locally on your machine, IntelliJ IDEA can now detect them automatically.

To try this feature out on your first IDE launch, select the Open existing Eclipse projects option.

If this isn’t the first time you’re starting IntelliJ IDEA, the IDE will detect existing Eclipse projects automatically and place them in the dedicated node right on the Welcome screen. This node will be available among the recent projects until you decide to remove it. When the Eclipse project is in the node, just click it to quickly open it in the IDE.

Package Search integration

Back in 2019, we announced an early preview for Package Search – a new, convenient way to manage your Maven and Gradle projects’ dependencies and find new ones. Today, Package Search is graduating from the EAP with a brand new interface, and is now bundled both in IntelliJ IDEA Community Edition and in IntelliJ IDEA Ultimate. You can use Package Search to find new dependencies and add them automatically. On top of that, Package Search will also add the required repositories to your build script if they’re missing:

Package Search also lets you upgrade, downgrade, and remove existing dependencies, change their scope, and navigate to their declarations:

We’re happy to announce that we have improved our existing Maven and Gradle Groovy integration and have added Gradle Kotlin DSL support, but this is just the beginning. We are working on many new features for the plugin, including support for resolving references in Gradle projects, integration with Kotlin/Multiplatform projects, and many improvements for our website.

Читайте также:  какой пароль postgresql по умолчанию

We’re looking forward to your feedback. You can reach out to the team on Twitter, and check out the known issues in the plugin and on the website.

Notification about missing plugins

If your project uses a framework that works in IntelliJ IDEA via a plugin, your IDE will track this dependency. A notification will pop up from which you can install the necessary plugin and continue working with your project.

Profiler

Async Profiler on Windows

Scanning code for memory leaks has become more efficient for Windows users. You can now apply Async Profiler to your running processes, as we’ve implemented support for it in our Profiler tool window. Give it a try!

Support for a sunburst diagram

When you capture an .hprof memory snapshot for a running process, it is now more convenient to analyze the retained objects per class because we’ve added a sunburst diagram that displays them. To see this diagram, double-click an item on the Classes tab.

Changes to pre-commit checks

IntelliJ IDEA features a wide range of actions you can perform before a commit. In our EAP build 2 for v2021.2, we’ve expanded this list with the ability to execute tests. Just click the gear icon in the Commit view, select the Run Tests option, and choose the necessary run configuration. This way, your IDE will test your file and notify you with a warning if anything goes wrong.

You can also customize the Analyze code and Cleanup options by clicking Choose profile next to them.

The best part is that the progress and results of pre-commit checks are now shown in the Commit area, without disturbing you with additional modal windows!

Please try these new features out and share your thoughts with us!

Text search in Local History revisions

We’ve added a search field to the Local History dialog to help you quickly get to the necessary text in your Local History revisions. Now, when you right-click on any changed file and select Local History | Show History in the context menu, you can quickly navigate around your file history by typing the query in this field.

Terminal

New Terminal options

We’ve improved our in-built terminal with two new options. First, you can now select the cursor shape. Choose whichever you like best!

Second, we now support Use Option as Meta key, similar to the same-name option in the native Terminal on macOS. This allows the Option (⌥) key on the keyboard to act as a meta modifier that can be used in combination with other keys instead of just as an Escape key. For example, you can now use the following shortcuts:

You can tick the checkboxes for these options in Preferences/ Settings | Tools | Terminal.

Kotlin

Debugger updates

In this EAP we’ve introduced some useful improvements and updates to our coroutine agent in the debugger.

Previously, when local variables were not used after passing a suspension point, advanced liveness analysis didn’t save these variables in the Local Variable Table. This was done to avoid memory leaks. As a side effect, such variables used to disappear in the Variables view of the Debugger tool window. We’ve fixed this and now, in most cases, you will see all the local variables. A couple of cases are still not processed, but we’ll address those soon.

The coroutines agent is now available for Java run configurations with a dependency on kotlinx.coroutines. We’ve also supported the agent for Spring and Maven run configurations. You can now see the Coroutines tab in the Debug tool window.

Quality improvements

As promised, we’ve continued to look into the issues affecting user experience and performance. Here’s what we’ve fixed and improved:

These are all the significant updates for EAP build 2; the full list of improvements is available in the release notes. Stay tuned for more significant fixes and new features next week. Meanwhile, you can try out the features introduced in this post and tell us what you think in the comment section for this post. If any bugs come out, please report to our issue tracker.

Источник

Что нового в IntellIJ IDEA 2016.3 EAP

Вчера стала доступна IntellIJ IDEA 2016.3 EAP – программа “раннего” доступа к обновлению, запланированному на эту осень.

Для справки. Официально программа называется Early Access Program. На практике это аналог alpha-версии. Обновления появляются в среднем с недельной периодичностью. Каждый желающий может установить дистрибутив, попробовать новые функции и поделиться своим мнением и идеями в трекере.

В этом посте я расскажу о главных нововведениях, которые уже доступны в EAP-билде.

Отладчик

Отслеживание значений выражений стало удобнее. Теперь выражения можно объявлять не только глобально, но и на уровне конкретных классов. Эти выражения будут отображаться аналогично полям класса.

Читайте также:  при сахарном диабете стол номер какой

Выражения указываются в контексте экземпляра класса.

Отображение примитивных типов

Теперь Java Type Renderers можно объявлять и для примитивных типов, включая массивы.

Анализ содержания памяти

С помощью нового плагина JVM Debugger Memory View, во время отладки вы можете исследовать содержание памяти.

Окно инструментов Memory View отображает количество экземпляров каждого класса. Чтобы открыть окно инструментов, воспользуйтесь главным меню: ViewTool WindowsMemory View.

Колонка Diff отображает как количество экземпляров изменилось с момента предыдущей остановки. Таким образом вы можете следить за созданием новых экземпляров.

Двойной клик на строчке класса откроет список экземпляров этого класса. Mark Object, Evaluate Expression, Add to Watches и другие операции отладки доступны применимы к любому экземпляру в этом списке.

Catch class filter

Следующее улучшение касается отладки исключений. Теперь вы можете задать границы Exception Breakpoint, указав пакеты, в которых это исключение ловится, – иначе говоря, в которых стоит try-catch выражение.

Контроль версий

Теперь если вы удаляете локальную ветку, IDE предложит также удалить ветку, на которую она ссылается, либо откатить удаление.

Диалог Commit Changes теперь предоставляет опцию Sign-off commit.

Теперь в диалогах и окнах инструментов контроля версий каждый файл подсвечивается в соответствии с настройками File Colors.

Интерфейс

Теперь вы можете нажать Ctrl+Shift+; (Cmd+Shift+; для OS X) и увидеть список последних тестов. Список содержит как последние успешные конфигурации тестов так и неуспешные индивидуальные тесты. Enter–запуск теста; F4–переход к коду.

Теперь, если вы вызываете Find in Path из редактора, настройки сохраняют указанные ранее значения, а не сбрасываются как раньше.

Лямбда выражения в File Structure

Попап и окно инструментов Structure теперь могут показывать лямбда выражения, если соответствующая настройка включена. Включить ее можно нажав Ctrl+L (Cmd+L для OS X).

Некоторые интеншены стали инспекциями

Основное отличие инспекций от интеншенов заключается в том, что инспекции можно применить сразу на многих файлах. Мы выбрали ряд интеншенов, для которых это имеет смысл, и сделали из них инспекции: в частности Lambda can be replaced with anonymous class и Diamond can be replaced with explicit type arguments.

Настройки инспекции unused declaration

В инспекцию Unused declaration добавлены настройки Members to report. Теперь вы можете выбрать, на какие члены класса и модификаторы испекция будет распространяться.

Иерархия мета аннотаций

Окно инструментов Type Hierarchy теперь работает и для мета-аннотаций и позволяет видеть их иерархию. Это может быть особенно полезно для Spring или, например, JUnit 5.

JavaScript and CSS

Теперь, если вы указали Flow в качестве версии JavaScript, вы начнете получать сообщения о проблемах в коде прямо в редакторе для тех файлов, которые аннотированы «// flow«.

Чтобы это работало, не забудьте указать путь к локально установленному Flow в SettingsLanguages & FrameworksJavaScriptFlow.

Переименование методов в TypeScript

Переименование методов в TypeScript стало безопасным:

Генерация кода Angular 2

Инструмент Angular CLI теперь интегрирован в попап Generate New, доступный по Alt+Ins (Cmd+N для OS X).

Для PostCSS теперь есть плагин. Установив плагин, вы получите подсказки, форматирование, навигацию, инспекции, переименование и другие функции предлагаемые для обычного CSS.

Группировка генерируемых файлов

В окне инструментов Project генерируемые файлы теперь группируются вместе с исходными файлами (если они в той же директории): например, «.css«, «.css.map» и «.sass«; «.js«, «.js.map» и «.ts«; и т.п.

Кроме нововведений обновление конечно же содержит массу багфиксов. Пока это все. Свежие EAP билды будут появляться каждую неделю.

Если обнаружите баги, пожалуйста сообщайте о них в наш трекер.

Источник

IntelliJ IDEA 2021.3 EAP Is Open!

It is the start of our new season of the Early Access Program! Don’t miss this opportunity to try out the latest features before the major release. This is a crucial part of our development cycle where your feedback helps us polish features for the new version and make sure they meet your expectations.

With version 2021.3, we aim to improve the user experience and fix bugs, and introduce new functionality. Our first EAP includes a revamped debugger UI, a new inspection for tracking unsafe strings, improved Space integration, redesigned Maven configurations, and more.

Join the Early Access Program to be among the first to try out the updates and share your feedback with us. You can download the EAP build from our website, get it from the free Toolbox App, or use snaps if you are using Ubuntu.

Please note you can install trial versions of paid plugins on your EAP builds. Starting from this EAP, to use the trial of the paid plugin you will need to provide your JetBrains credentials.

Let’s have a look at what is included in this first EAP build.

Debugger

New debugger UI

Our built-in debugger is a powerful tool that helps you explore the code behavior and fix bugs. However, its design has become cluttered over the years, and as a result, the workflow has become overly complicated. This is why we decided to rework the Run/Debug tool window, making it simpler, neater, and more concise.

Читайте также:  что делать если клиент недоволен услугой

The new design is more modern and minimalistic, which speed up the debugging workflow and make popular actions more discoverable. So, what have we done?

New debugger layout

There is now a single horizontal toolbar at the top of the window. We’ve removed the vertical toolbar on the left and collapsed all the others. This layout reorganization lets us save a lot of space and makes the UI more intuitive. The changes help to better focus on the essential debugging tasks like analyzing variables and navigating frames.

Debugger actions

The most popular actions can now all be found in one place; you can access the rest using the More icon. If the default configuration doesn’t work for you, you can customize it in Preferences | Appearance & Behavior | Menus and Toolbars | Debug Header Toolbar.

Evaluate expression

We’ve also made the Evaluate expression dialog more discoverable – you can now access it right from the Debug tool window.

Space integration

Merge requests and code reviews from the IDE

When you work with a project located in Space, it is now possible to create merge requests and code reviews from the Code Reviews tool window in IntelliJ IDEA. To call these actions, use the + icon on the top toolbar.

If you need your colleagues to review a branch with multiple commits before merging it to the target branch, use the Create Merge Request action. Once you select this action, click on the branch names at the top of the window to choose the head repository, the branch to be reviewed, and the destination branch.

IntelliJ IDEA will then display the commits that you want to merge in a list in the Info tab. In the sections below this list, you can enter a name for the merge request and add reviewers. To finalize the process, just push the Create Merge Request button.

The Create Code Review action is more generic, and it is helpful when you want your teammates to review commits located either in one or in various branches. After choosing this action, IntelliJ IDEA will display the complete list of pushed commits available in Space. In the Info tab, you can then manually filter them by author, branch, time period, or commit text. If you are filtering by commit text, you should enter either the entire commit hash or a whole word used in the commit. Then enter the title and add reviewers before clicking Create Code Review.

Mark files as viewed

You won’t miss any critical changes in Space projects when performing a code review, as the files you haven’t revised yet will be marked with blue dots. These dots will be cleared automatically after you open the marked items. If you want to return to the changes later, you can select Mark as Not Viewed from the context menu.

Inspection for tracking unsafe strings

We’ve introduced an inspection that helps you find such hazards as SQL injection and XSS flaws, sensitive data leaks, and insecure deserialization. It also warns you against passing insecure data to secure methods.

For this inspection to work, you should annotate strings as @Untainted ( “safe”) or @Tainted (“unsafe”). These annotations will be valid when you add the org.checkerframework.checker.tainting.qual dependency.

Once you’ve annotated the necessary strings, IntelliJ IDEA will identify the places in your code where a @Tainted or unknown string is passed to a method with an @Untainted parameter and show you a warning. You can then improve your code to resolve the problem or use a quick-fix to mark the string as safe.

The following GIF demonstrates what would happen if you used a string that contained an SQL injection:

You can find the inspection description under Preferences/ Settings | Editor | InspectionsNon-safe string is passed to asafe method.

Build tools

Redesigned Maven configurations

As part of our effort to simplify the UI, we are continuing to improve our Run/Debug configurations. This time, Maven configurations have received a significant redesign that mirrors the layout we already applied to Gradle configurations in v2021.2. The essential parameters are all on one screen, and additional options are available via Modify options.

Support for .mvn/maven.config

Quality enhancements

We are always working to improve your experience of our product; that’s why fixing bugs, freezes, and regressions is one of our top priorities. Here is a list of all the fixes that we have made in the first EAP build:

You can see the complete list of quality enhancements in the release notes.

That’s all for week one! We hope you will find all the new features useful, and we look forward to reading your feedback in the comments below. Also, if you notice any bugs, please report them to our issue tracker.

Источник

Сказочный портал