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 96085 - File - New File should support creating SQL scripts
Summary: File - New File should support creating SQL scripts
Status: RESOLVED DUPLICATE of bug 62087
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-20 23:33 UTC by Craig Mcclanahan
Modified: 2007-03-07 08:56 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 Craig Mcclanahan 2007-02-20 23:33:05 UTC
It is real common in Rails tutorials (especially those written for versions of
Rails before the migrations feature was added) to create SQL scripts in the "db"
directory of a Rails project.  We should have an option for this on the new file
dialogs, and (of course) syntax highlighting in the editor.

(Using trunk build 2177, ruby build 175)
Comment 1 Pavel Buzek 2007-03-07 01:54:18 UTC
Well, you can create an SQL script using the File | New, category "Other",
"Empty File" template. Create a file with extension sql and see that you will
get syntax coloring, you can even execute the script if you have any databases
registered in NetBeans.

It sure would be nice to have a template for SQL files to improve
discoverability (is that a word in English?:-). Reassigning to DB module for
that. Once we have that we could put the SQL File into prefered template for RoR
project if desired.
Comment 2 Andrei Badea 2007-03-07 08:56:56 UTC

*** This issue has been marked as a duplicate of 62087 ***