deprecations vs. new standards documentation?
hi guys,
i am just starting to experiment with writing my very first intelliJ IDEA plugin. sorry for probably having to ask several neewbie questions.
i found the very helpful tutorial GoogleSearch plugin demo video at http://www.jetbrains.com/idea/training/demos/google_search.html.
i managed to get my plugin running (and actually to work as i wish) but there have been several errors about symbol methods that could not be resolved and deprecation warnings ().
Q: is there a documentation or other solution (e.g. using the "Find in path" option somewhere) for finding out the alternative new standards of deprecations?
thanks a lot, kay
errors and warnings i received:
----------------------------------------------
[error ]cannot find symbol method getDataContext() (- after commenting out the resp. code, the plugin compiles and works, but throws error messages to the "run" tab)
[deprecation] com.intellij.openapi.actionSystem.DataConstants in com.intellij.openapi.actionSystem has been deprecated
[deprecation] EDITOR in com.intellij.openapi.actionSystem.DataConstants has been deprecated
Please sign in to leave a comment.
after more searching the forum i now replaced DataKeys by DataConstants, is this the correct standard?
Hello kay,
Yes, replacing DataConstants with DataKeys is correct.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hello kay,
Some information on migrating plugins to the new API is available at:
http://confluence.jetbrains.net/display/IDEADEV/PluginDevelopment
(see the "IntelliJ IDEA Version Differences" heading).
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
thank you Dmitry, this helped me get on my way, i managed to get rid of the errors :)