This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 142636 - all languages means xml?
Summary: all languages means xml?
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on: 142146
Blocks:
  Show dependency tree
 
Reported: 2008-08-01 19:53 UTC by Milos Kleint
Modified: 2008-08-20 10:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Kleint 2008-08-01 19:53:28 UTC
current dev as of yesterday.
The formatting panel in project customizer claims it can change settings for 1. java 2. all languages.
However All languages shows xml file and actually the properties written down are also relvant to the xml mimetype.
eg.       
<org-netbeans-modules-editor-indent.CodeStyle.project.text.xml.indent-shift-width>2</org-netbeans-modules-editor-indent.CodeStyle.project.text.xml.indent-shift-width>

however when I try to reformat the xml file (mimetype inheriting from xml) with this settings, the element shift is 4,
not 2.

on top of that I suspect the values I changed in project properties (2 indent) now show in global properties as well,
where I never set the value..
Comment 1 Petr Dvorak 2008-08-01 22:08:36 UTC
Hi Milos!

This issue is probably another result of confusion connected to those two issues:

http://www.netbeans.org/issues/show_bug.cgi?id=141974

...and mainly...

http://www.netbeans.org/issues/show_bug.cgi?id=142146

I would say that this issue is a duplicate of issue 142146. Please feel free to reopen if you think I am wrong.

*** This issue has been marked as a duplicate of 142146 ***
Comment 2 Milos Kleint 2008-08-04 08:29:32 UTC
not really a duplicate IMHO
Comment 3 Vitezslav Stejskal 2008-08-04 09:59:56 UTC
'All Languages' in project customizer is meant to control basic formatting settings for all languages. It shows XML as
an example, because XML is a language with a structure that is visually affected by the basic formatting settings. So,
it's good for previewing changes in the settings.
Comment 4 Vitezslav Stejskal 2008-08-20 10:37:06 UTC
Fixed together with issue #142146. This should be working fine now with the exception of C/C++ customizers, which use
their own storage for formatting settings.