Class CustomPreferenceStoreWhitespaceInformationProvider

  • All Implemented Interfaces:
    org.eclipse.xtext.formatting.IWhitespaceInformationProvider

    public class CustomPreferenceStoreWhitespaceInformationProvider
    extends org.eclipse.xtext.ui.editor.formatting.PreferenceStoreWhitespaceInformationProvider
    This class resolves problems with getting line separator preferences for DT virtual files
    • Constructor Detail

      • CustomPreferenceStoreWhitespaceInformationProvider

        public CustomPreferenceStoreWhitespaceInformationProvider()
    • Method Detail

      • getLineSeparatorPreference

        protected String getLineSeparatorPreference​(org.eclipse.emf.common.util.URI uri)
        Overrides:
        getLineSeparatorPreference in class org.eclipse.xtext.ui.editor.formatting.PreferenceStoreWhitespaceInformationProvider