New XML Refactorings for Android Developers
Recently, we've added a number of new refactorings for Android XML layout files. All the refactorings can be used right in the editor, in the UI designer (from "Design" panel or "Component Tree") or can be invoked from the Structure View. So, here's what we've prepared for you: Extract Style. Styles in Android is an analogue of cascading stylesheets in web design — they allow you to separate the design from the content. With this new refactoring you can create a new style from a layout XML tag. To perform refactoring just place the caret into an XML tag and choose Refactor | Extract | Style
Easy XML Schema Configuration in IntelliJ IDEA 12 Leda
Working on an XML document, for having additional code assistance such as error highlighting or completion, you need to specify an XML schema (e.g. XSD or DTD). In the previous versions of IntelliJ IDEA, you had to work with Schemas and DTDs section in Settings or fetch schema from external resource with help of Fetch External Resource intention. IntelliJ IDEA 12 Leda introduces new way to configure schema for your XML file, based on detecting schemas located locally in project sources or libraries. The IDE tries to match schema by information available in the document, including namespace,
Faster XML coding with new completion features
How often do you write XML configurations like that above? How many keystrokes does it take? This one is written in just moments, with the help of the new completion features coming in IntelliJ IDEA 10. First of all, the IDE completes all required subtags for you, even nested ones. Second, you can use smart completion feature to ensure that the tags you write are in order described in your XML schema. If you do not know where your new tag should be inserted, invoke the Generate / XML Tag action from context menu, choose the tag you want, and IntelliJ IDEA will generate a completely valid XML
IntelliJ IDEA 10 EAP (98.231) — Happy Halloween!
New IntelliJ IDEA 10 EAP build is ready for your testing. Some noteworthy changes are: Improved completion in XML. Smart completion plus new Generate / XML Tag action from context menu. New GitHub integration. Try looking under 'Checkout from VCS' action. In-place introduce variable. Refactor you Java code with no popups. Many other fixes and improvements since the last update. Download the build and enjoy! Happy Halloween!
XML improvements in IntelliJ IDEA X
There are few small, but very useful improvements in XML editing will be available in IntelliJ IDEA 10. All of them are very handy when edit XML files like schemes, JSPs, MXMLs, etc. First of these improvements is inspection detecting unused namespace declarations. Others include namespace prefix intentions which allow you to rename, remove or introduce namespace prefixes. Want to make you schema file lighter? Not a problem: Rename in place: Or introduce new namespace prefix: Find usages works as well. Enjoy them in first IntelliJ IDEA X EAP soon.
XPathView Plugin: Boosting XSL and XML Development
IntelliJ IDEA features excellent support for XML development. Smart editor with code completion, error highlighting and other productivity aimed features help create efficient code. However, there is no limit in perfecting the development environment. XPathView plugin extends IntelliJ IDEA XML and XSL support by providing for: Instant XPath evaluation Get the fully qualified XPath expression that identifies certain XML document node. Use it in your application to refer to that node, or create an XSL base stylesheet. The plugin also lets you evaluate XPath queries and examine what results t
InteliJ IDEA Plugins: Accessing XML through IntelliJ IDEA DOM
Peter Gromov, one of IntelliJ IDEA developers, shares his knowledge about utilizing IntelliJ IDEA 6.0 XML DOM power in the field of plugin authoring. Peter wrote the article that describes the key principles of working with XML data through this DOM and quickly outlines how it can be used to empower and simplify plugin development with the latest version of IntelliJ IDEA. Read the full story IntelliJ IDEA 6.0 is now avaliable as beta version. The complete release is scheduled to the mid of fall, 2006. Technorati tags: XML, IntelliJ, IDE, DOM