Library for testing highlighting in plugins for IDEA in KPHP format.

Overview

intellij-kphp-highlighting-test-adapter

Library for testing highlighting in plugins for IDEA in KPHP format.

Installation

Kotlin DSL

plugins {
    id("com.vk.intellij-kphp-highlighting-test-adapter") version "0.1.0"
}

Gradle DSL

plugins {
    id 'com.vk.intellij-kphp-highlighting-test-adapter' version "0.1.0"
}

Test Format

<code line>
//    ^^^^ <- range in line
//    <type>: <message>

Example:

$a = new Message();
//       ^^^^^^^
//       error: Undefined class 'Message'

Message can be multiline:

echo($a);
//   ^^
//   error: Can't find variable: $a
//          Maybe you meant $b?

Motivation

The standard test format for IDEA requires describing the error directly in the code using XML. Because of this, the standard highlighting in the IDE breaks and gives a lot of errors.

Therefore, we came up with this format for tests in IDEA. It allows you to conveniently describe errors in the code in the form of comments, while the highlighting doesn't break.

License

This project is under the MIT License. See the LICENSE file for the full license text.

You might also like...
A Mindustry modding Intellij IDEA plugin, named Plumy.

mgppi Template ToDo list Create a new IntelliJ Platform Plugin Template project. Get familiar with the template documentation. Verify the pluginGroup,

This is an IDEA plugin that allows you to connect Android devices via WiFi for debugging your codes.
This is an IDEA plugin that allows you to connect Android devices via WiFi for debugging your codes.

AdbWifiUtils Github | Issues | README | 中文文档 ● [Description]: This is an IDEA plugin that allows you to connect Android devices via WiFi for debugging

AsyncAPI - IDEA plugin

AsyncAPI - IDEA plugin ⚠️ This plugin doesn't support AsyncAPI 1.x Idea plugin for the java-asyncapi - Helps to edit and validate AsyncAPI schemas. Fe

My (terrible) plugins for Aliucord
My (terrible) plugins for Aliucord

Plugins for Aliucord How to install: Join the Aliucord support server long press on my message in #plugins-list then click "Open PluginDownloader" Man

My plugins for Aliucord, an android Discord client mod

Ven's Aliucord Plugins Click a Plugin's name to open a more detailed explanation Themer - Download Create and apply custom themes EmojiUtility - Downl

⚡️ Firebase plugins for Capacitor. Supports Android, iOS and the web

Capacitor Firebase ⚡️ Firebase plugins for Capacitor. Supports Android, iOS and the web. Maintainers Maintainer GitHub Social Robin Genz robingenz @ro

A webserver interface to the same methods and code that Cordova plugins install.

cordova-plugin-webserver Cordova plugin for localhost web server written in Kotlin and Ktor Install plugin cordova plugin add https://github.com/Qbix/

Android gradle version and plugins

android-gradle-plugin Android gradle version and plugins Version catalogs Shared catalogs 를 사용한 android version catalogs 입니다. Usage settings.gradle.kt

A simple way to encrypt your secure data like passwords into a native .so library.
A simple way to encrypt your secure data like passwords into a native .so library.

PLEASE NOTE, THIS PROJECT IS NO LONGER BEING MAINTAINED Cipher.so Providing a simple way to keep your secure info safe for android app development. Wi

Owner
Makhnev Petr
Compiler Engineer in kphplang team in vk.com
Makhnev Petr
This is an android studio plugin that allows you to creates new color in hex format based on a percentage (0-100) and a base color you specify.

alpha-color Description This is an android studio plugin that allows you to creates new color in hex format based on a percentage (0-100) and a base c

null 1 Nov 12, 2021
A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development.

ADB Idea A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development. The following commands are provided: Uninst

Philippe Breault 2k Dec 28, 2022
IDEA plugin.

#Code Review Plugin Download 团队之间Code Review(Diff) 工具 集成 Trello Get Start 配置Task 插件依赖IDEA task 插件的server信息 Perferences -> Tools -> Tasks -> server 添加T

hxc 4 Dec 11, 2021
IDEA plugin demo.

idea-plugin-demo Template ToDo list Create a new IntelliJ Platform Plugin Template project. Get known with the template documentation. Verify the plug

YISEN CAI 0 Nov 3, 2021
IntelliJ IDEA / PhpStorm InertiaJS Plugin

PhpStorm and IntelliJ IDEA Inertia.js Plugin Provides support in PhpStorm and IntelliJ IDEA Ultimate for Inertia.js. ?? GitHub Issues: feature request

Matthew Hailwood 16 Dec 18, 2022
IntelliJ IDEA plugin for JBang

jbang-intellij-plugin JBang plugin is a plugin for IntelliJ IDEA to integrate JB

jbang - unleash the power of Java 14 Dec 16, 2022
Intellij Idea Plugin that can convert HTML to Compose for Web code.

HtmlToComposeWebConverter Intellij Idea Plugin that can convert HTML to Compose for Web code. Turn this: Into this: Show some ❤️ and star the repo to

Jens Klingenberg 90 Oct 10, 2022
An IntelliJ IDEA plugin is used to inspire you to write code.

InspireWritingPlugin An IntelliJ IDEA plugin is used to inspire you to write code. Whenever you write code that exceeds the specified character, the p

Airsaid 6 Feb 11, 2021
🌏 Android/IDEA localization plugin. supports multiple languages and multiple translators.

English | 简体中文 AndroidLocalizePlugin ?? Android/IDEA localization plugin. supports multiple languages and multiple translators. Features Multiple tran

Airsaid 465 Dec 28, 2022
Idea-plpgdebugger - A plugin to debug PostgreSQL in Intellij

Intellij PL/pg SQL debugger Debug PL/pg SQL in Intellij with Datbase Tool to spe

Alexandre Boyer 24 Dec 30, 2022