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 - "Show Method Parameters" action doesn't show anything when inside a string
Summary: "Show Method Parameters" action doesn't show anything when inside a string
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-23 17:30 UTC by ilia
Modified: 2016-09-01 17:57 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 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");