File tree Expand file tree Collapse file tree
kotlin/com/github/xepozz/php_opcodes
test/kotlin/com/github/xepozz/php_opcodes Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<!-- Keep a Changelog guide -> https://keepachangelog.com -->
22
3- # php-opcodes-plugin Changelog
3+ # PHP Opcodes Changelog
44
55## [ Unreleased]
66### Added
Original file line number Diff line number Diff line change 1- # php-opcodes-plugin
1+ # PHP Opcodes
22
33![ Build] ( https://github.com/xepozz/php-opcodes-plugin/workflows/Build/badge.svg )
44[ ![ Version] ( https://img.shields.io/jetbrains/plugin/v/MARKETPLACE_ID.svg )] ( https://plugins.jetbrains.com/plugin/MARKETPLACE_ID )
1717- [ ] Click the <kbd >Watch</kbd > button on the top of the [ IntelliJ Platform Plugin Template] [ template ] to be notified about releases containing new features and fixes.
1818
1919<!-- Plugin description -->
20- This Fancy IntelliJ Platform Plugin is going to be your implementation of the brilliant ideas that you have .
20+ Plugin exposes PHP Opcodes for the selected PHP code snippet or file .
2121
22- This specific section is a source for the [ plugin.xml] ( /src/main/resources/META-INF/plugin.xml ) file which will be extracted by the [ Gradle] ( /build.gradle.kts ) during the build process.
23-
24- To keep everything working, do not remove ` <!-- ... --> ` sections.
22+ It is possible to navigate through the codebase and watch related opcodes.
2523<!-- Plugin description end -->
2624
2725## Installation
Original file line number Diff line number Diff line change 11# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
22
3- pluginGroup = com.github.xepozz.phpopcodesplugin
4- pluginName = php-opcodes-plugin
3+ pluginGroup = com.github.xepozz.php_opcodes
4+ pluginName = PHP Opcodes
55pluginRepositoryUrl = https://github.com/xepozz/php-opcodes-plugin
66# SemVer format -> https://semver.org
7- pluginVersion = 0 .0.1
7+ pluginVersion = 2025 .0.1
88
99# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1010pluginSinceBuild = 242
1111pluginUntilBuild = 252.*
1212
1313# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
14- platformType = IC
15- platformVersion = 2024.2.5
14+ platformType = PS
15+ platformVersion = 2025.1.1
1616
1717# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
1818# Example: platformPlugins = com.jetbrains.php:203.4449.22, org.intellij.scala:2023.3.27@EAP
19- platformPlugins =
19+ platformPlugins = com.jetbrains.php:251.23774.318,com.jetbrains.hackathon.indices.viewer:1.30
2020# Example: platformBundledPlugins = com.intellij.java
21- platformBundledPlugins =
21+ platformBundledPlugins =
2222
2323# Gradle Releases -> https://github.com/gradle/gradle/releases
2424gradleVersion = 8.13
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ plugins {
22 id(" org.gradle.toolchains.foojay-resolver-convention" ) version " 1.0.0"
33}
44
5- rootProject.name = " php-opcodes-plugin "
5+ rootProject.name = " PHP Opcodes "
Original file line number Diff line number Diff line change 1- package com.github.xepozz.phpopcodesplugin
1+ package com.github.xepozz.php_opcodes
22
33import com.intellij.DynamicBundle
44import org.jetbrains.annotations.NonNls
Original file line number Diff line number Diff line change 1- package com.github.xepozz.phpopcodesplugin .services
1+ package com.github.xepozz.php_opcodes .services
22
33import com.intellij.openapi.components.Service
44import com.intellij.openapi.diagnostic.thisLogger
55import com.intellij.openapi.project.Project
6- import com.github.xepozz.phpopcodesplugin .MyBundle
6+ import com.github.xepozz.php_opcodes .MyBundle
77
88@Service(Service .Level .PROJECT )
99class MyProjectService (project : Project ) {
Original file line number Diff line number Diff line change 1- package com.github.xepozz.phpopcodesplugin .startup
1+ package com.github.xepozz.php_opcodes .startup
22
33import com.intellij.openapi.diagnostic.thisLogger
44import com.intellij.openapi.project.Project
Original file line number Diff line number Diff line change 1- package com.github.xepozz.phpopcodesplugin .toolWindow
1+ package com.github.xepozz.php_opcodes .toolWindow
22
33import com.intellij.openapi.components.service
44import com.intellij.openapi.diagnostic.thisLogger
@@ -8,8 +8,8 @@ import com.intellij.openapi.wm.ToolWindowFactory
88import com.intellij.ui.components.JBLabel
99import com.intellij.ui.components.JBPanel
1010import com.intellij.ui.content.ContentFactory
11- import com.github.xepozz.phpopcodesplugin .MyBundle
12- import com.github.xepozz.phpopcodesplugin .services.MyProjectService
11+ import com.github.xepozz.php_opcodes .MyBundle
12+ import com.github.xepozz.php_opcodes .services.MyProjectService
1313import javax.swing.JButton
1414
1515
Original file line number Diff line number Diff line change 11<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->
22<idea-plugin >
3- <id >com.github.xepozz.phpopcodesplugin </id >
4- <name >php-opcodes-plugin </name >
5- <vendor > xepozz</vendor >
3+ <id >com.github.xepozz.php_opcodes </id >
4+ <name >PHP Opcodes </name >
5+ <vendor email = " xepozz@list.ru " url = " https://github.com/xepozz " >Dmitrii Derepko (@ xepozz) </vendor >
66
77 <depends >com.intellij.modules.platform</depends >
8+ <depends >com.jetbrains.php</depends >
89
910 <resource-bundle >messages.MyBundle</resource-bundle >
1011
1112 <extensions defaultExtensionNs =" com.intellij" >
12- <toolWindow factoryClass =" com.github.xepozz.phpopcodesplugin .toolWindow.MyToolWindowFactory" id =" MyToolWindow" />
13- <postStartupActivity implementation =" com.github.xepozz.phpopcodesplugin .startup.MyProjectActivity" />
13+ <toolWindow factoryClass =" com.github.xepozz.php_opcodes .toolWindow.MyToolWindowFactory" id =" MyToolWindow" />
14+ <postStartupActivity implementation =" com.github.xepozz.php_opcodes .startup.MyProjectActivity" />
1415 </extensions >
1516</idea-plugin >
Original file line number Diff line number Diff line change 1- package com.github.xepozz.phpopcodesplugin
1+ package com.github.xepozz.php_opcodes
22
33import com.intellij.ide.highlighter.XmlFileType
44import com.intellij.openapi.components.service
55import com.intellij.psi.xml.XmlFile
66import com.intellij.testFramework.TestDataPath
77import com.intellij.testFramework.fixtures.BasePlatformTestCase
88import com.intellij.util.PsiErrorElementUtil
9- import com.github.xepozz.phpopcodesplugin .services.MyProjectService
9+ import com.github.xepozz.php_opcodes .services.MyProjectService
1010
1111@TestDataPath(" \$ CONTENT_ROOT/src/test/testData" )
1212class MyPluginTest : BasePlatformTestCase () {
You can’t perform that action at this time.
0 commit comments