File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
java/com/tang/intellij/lua/project Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 1717package com.tang.intellij.lua.project
1818
1919import com.intellij.openapi.components.PersistentStateComponent
20+ import com.intellij.openapi.components.Service
2021import com.intellij.openapi.components.State
2122import com.intellij.openapi.components.Storage
2223import com.intellij.openapi.module.ModuleManager
@@ -31,6 +32,7 @@ interface LuaSourceRootListener {
3132 fun onChanged ()
3233}
3334
35+ @Service(Service .Level .PROJECT )
3436@State(name = " LuaSourceRootManager" , storages = [(Storage (" emmy.xml" ))])
3537class LuaSourceRootManager (val project : Project ) : PersistentStateComponent<LuaSourceRootManager.State> {
3638 companion object {
Original file line number Diff line number Diff line change 332332 topic =" com.intellij.openapi.fileTypes.FileTypeListener" />
333333 </applicationListeners >
334334
335- <project-components >
336- <component >
337- <implementation-class >com.tang.intellij.lua.project.LuaSourceRootManager</implementation-class >
338- </component >
339- </project-components >
340-
341335 <actions >
342336 <group id =" LuaCallHierarchyPopupMenu" >
343337 <reference ref =" EditSource" />
You can’t perform that action at this time.
0 commit comments