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 267686

Summary: "Show Method Parameters" action doesn't show anything when inside a string
Product: cnd Reporter: ilia
Component: NavigationAssignee: ilia
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description ilia 2016-08-23 17:30:52 UTC
Sample code:

char buffer[10];
sprintf(buffer, "The message is %s", "ABCDE<caret here>F);

Issue:
Ctrl+P (Show Method Parameters) doesn't work when a caret is inside a string (and 1 symbol after).
Comment 1 ilia 2016-08-23 17:32:04 UTC
Correct example (added a quote)
sprintf(buffer, "The message is %s", "ABCDE<caret here>F");