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 208296

Summary: incorrect word delimiter for C++
Product: cnd Reporter: thelastmammoth
Component: EditorAssignee: issues@cnd <issues>
Status: REOPENED ---    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description thelastmammoth 2012-02-12 01:59:37 UTC
when double clicking on identifier my_variable, it either selects my or _ or variable. It should select my_variable, as it is a valid C++ identifier. 

If you don't want "_" to be part of a word by default, can we at least have a way to set word delimiters (on a per file type basis if necessary)? That should be a very basic feature, available in many editors.
Comment 1 Vladimir Voskresensky 2012-02-12 17:33:56 UTC
Could you run NB with clean userdir and do not import settings from old version. It should help.
Comment 2 Miloslav Metelka 2012-06-06 12:51:10 UTC
Reassigning since imho this is cnd related.
Comment 3 nnnnnk 2012-06-26 11:32:02 UTC
I can not reproduce this.
Comment 4 letrollpoilu 2019-02-12 13:38:58 UTC
I have variables separated with hyphens and I would like to select them entirely by double-clicking on them.

I just can't find how to set that up...

I know you can with Sublime Text :

It works for CSS but I'm using SCSS. Class names, variables and CSS attributes are not selected properly on double click.

.navigation-container{   //not properly selected
 #{$nav-middle}{ //not properly selected
      > ul ul{
           align-content: center; //not properly selected