# Class IdeaWorkspace

java.lang.Object
org.gradle.plugins.ide.idea.model.IdeaWorkspace

@Deprecated public abstract class IdeaWorkspace extends Object
Deprecated.
Will be removed in Gradle 10.
Enables fine-tuning workspace details (*.iws file) of the IDEA plugin.

At the moment, the only practical way of manipulating the resulting content is via the withXml hook:

    plugins {
        id 'java'
        id 'idea'
    }

    idea.workspace.iws.withXml { provider ->
        provider.asNode().appendNode('gradleRocks', 'true')
    }

Since:
  1.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IdeaWorkspace()`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `XmlFileContentMerger`
  `getIws()`
  Deprecated.
  Enables advanced manipulation of the output XML.
  `void`
  `iws(Closure closure)`
  Deprecated.
  Enables advanced manipulation of the output XML.
  `void`
  `iws(Action<? super XmlFileContentMerger> action)`
  Deprecated.
  Enables advanced manipulation of the output XML.
  `void`
  `mergeXmlWorkspace(Workspace xmlWorkspace)`
  Deprecated.
  Merge xml workspace.
  `void`
  `setIws(XmlFileContentMerger iws)`
  Deprecated.
  Sets the iws.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### IdeaWorkspace

    @Inject public IdeaWorkspace()
    Deprecated.

- ## Method Details

  - ### getIws

    public XmlFileContentMerger getIws()
    Deprecated.
    Enables advanced manipulation of the output XML.

    For example see docs for `IdeaWorkspace`

    Since:
      1.0

  - ### setIws

    public void setIws(XmlFileContentMerger iws)
    Deprecated.
    Sets the iws.
    Since:
      1.0

  - ### iws

    public void iws(@DelegatesTo(XmlFileContentMerger.class) Closure closure)
    Deprecated.
    Enables advanced manipulation of the output XML.

    For example see docs for `IdeaWorkspace`

    Since:
      1.0

  - ### iws

    public void iws(Action<? super XmlFileContentMerger> action)
    Deprecated.
    Enables advanced manipulation of the output XML.

    For example see docs for `IdeaWorkspace`

    Since:
      3.5

  - ### mergeXmlWorkspace

    public void mergeXmlWorkspace(Workspace xmlWorkspace)
    Deprecated.
    Merge xml workspace.
    Since:
      1.0