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 18844 - Tabs in java source files prevent correct parsing of file.
Summary: Tabs in java source files prevent correct parsing of file.
Status: CLOSED DUPLICATE of bug 18584
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-20 03:04 UTC by aaronk
Modified: 2007-09-26 09:14 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 aaronk 2001-12-20 03:04:41 UTC
If I use tabs instead of spaces to indent my java sources (I have a code 
generation tool that does this and can't be configured not to) the file cannot 
be parsed by the IDE.  (The explorer displays an error icon instead of a 
breakdown of the class's methods, etc.)

Further to this, if I have 'expand tabs to spaces' switched on in the java 
indentation engine options, pre-existing tabs are NOT converted to spaces on 
save.

I am using the beta version of the java sources module (the one with JDK1.4 
support, but set to JDK1.3 mode).
Comment 1 Tomas Hurka 2001-12-20 08:56:41 UTC
This is probably another manifestation of issue #18584. 

'Expand tabs to spaces' option is used when you change the document.
Ie. you type 'Tab' or you use indentation engine to reformat text for
example by selection block and pressing Tab or Shift-Tab to change
indentation of the block. 

*** This issue has been marked as a duplicate of 18584 ***
Comment 2 Quality Engineering 2003-07-01 13:11:46 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 3 Quality Engineering 2003-07-01 13:15:16 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.