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 190030 - Better support for stand-alone files
Summary: Better support for stand-alone files
Status: RESOLVED DUPLICATE of bug 157324
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 15:15 UTC by Leonid Lenyashin
Modified: 2010-09-01 14:31 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Lenyashin 2010-08-31 15:15:56 UTC
In many cases I'd like just to open a file, edit it quickly and check if it compiles. I do not care what compiler and what flags to use. I do not like to pay price of project creation to do this simple thing.
I'd suggest:
- to allow to compile *ANY* file open in the editor with default toolchain and some default flags, even if it does not belong to any project
- to allow to compile it to object file if there is no "main" in the file and to executable "a.out" if there is one (it is enough to have a default Makefile for this)
- to enable "Run" and "Debug" buttons in "Output" window for file that were compiled into a binary (Debug should work as step into main)

Look at this article to see large demand in this functionality:
http://www.sdtimes.com/content/article.aspx?ArticleID=34559&print=true
Comment 1 Leonid Lenyashin 2010-09-01 14:31:20 UTC

*** This bug has been marked as a duplicate of bug 157324 ***