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 267503

Summary: "Show indent guide lines" shows indent lines from global options and not from project specific options
Product: ide Reporter: seligor
Component: CodeAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 10   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description seligor 2016-08-09 13:20:59 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_101
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.101-b13

Reproducibility: Happens every time

STEPS:
  * Open new java project
  * Set indentation different then in global options
  * Input some lines of code

ACTUAL:
  Editor window shows indentation lines from global options

EXPECTED:
  Project specific indentation line
Comment 1 seligor 2016-08-09 13:21:03 UTC
Created attachment 161602 [details]
IDE log
Comment 2 Fornax 2016-09-19 07:33:06 UTC
I can confirm this issue. It also happens with Netbeans 8.1 on Linux Mint 18.

This is an annoying issue for me because I prefer 8-char tabs for personal projects, but my employer requires me to work with 2 spaces for indentation. So I have tabs for global settings and spaces for work project settings. And especially since 2 spaces is way too little to clearly see what indentation depth you're on it's handy to have working indent guide lines.