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 244778 - HTML files: Code format does not convert spaces to tabs
Summary: HTML files: Code format does not convert spaces to tabs
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal with 2 votes (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2014-05-29 06:14 UTC by _ gtzabari
Modified: 2016-07-19 17:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2014-05-29 06:14:21 UTC
Product Version: NetBeans IDE 8.0 (Build 201403101706)
Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 1.1
Java: 1.8.0_05; Java HotSpot(TM) 64-Bit Server VM 25.5-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13
System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\8.0
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\8.0

If "Tabs and Indents", "Expand Tabs to Spaces" is unchecked, code format fails to convert spaces to tabs. This same setting *does* convert spaces to tabs for Java files.

Expected behavior: If "Expand Tabs to Spaces" is unchecked, spaces should be converted to tabs.
Comment 1 Vladimir Riha 2014-05-29 15:26:40 UTC
reproducible, some spaces are converted to tabs, some are not.

Product Version: NetBeans IDE Dev (Build 201405290001)
Java: 1.7.0_60; Java HotSpot(TM) Client VM 24.60-b09
Runtime: Java(TM) SE Runtime Environment 1.7.0_60-b19
System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)