473,324 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Other file name extensions for SQL files - how?

Google groups didn't offer any help on this, and I tried this in the
vsnet.ide newsgroup but didn't get a response. I'm trying it here in hopes
that someone might have a clue:

The company I work for uses a couple of non-standard file name extensions
for files containing SQL: .vw for views, .prc for stored procedures. The VS
IDE doesn't recognize these as SQL files, so it doesn't do syntax coloring
like it does for files with the extension .sql.

In the Options dialog under Text Editors/File Extension, if you try to add
these extensions the dropdown list of editors doesn't contain the SQL
editor. How can I link those extensions to the SQL editor? Any suggestions?

Thanks,
Tom Dacon
Dacon Software Consulting
Feb 13 '08 #1
4 1533
just... why?

If you want that, why not try calling them foo.vw.sql, bar.prc.sql?

Marc
Feb 13 '08 #2

"Tom Dacon" <td****@community.nospamwrote in message
news:er**************@TK2MSFTNGP04.phx.gbl...
Google groups didn't offer any help on this, and I tried this in the
vsnet.ide newsgroup but didn't get a response. I'm trying it here in hopes
that someone might have a clue:

The company I work for uses a couple of non-standard file name extensions
for files containing SQL: .vw for views, .prc for stored procedures. The
VS IDE doesn't recognize these as SQL files, so it doesn't do syntax
coloring like it does for files with the extension .sql.

In the Options dialog under Text Editors/File Extension, if you try to add
these extensions the dropdown list of editors doesn't contain the SQL
editor. How can I link those extensions to the SQL editor? Any
suggestions?

Thanks,
Tom Dacon
Dacon Software Consulting

http://www.engagesoftware.com/Blog/t...7/Default.aspx

Feb 13 '08 #3
"Marc Gravell" <ma**********@gmail.comwrote in message
news:e$**************@TK2MSFTNGP04.phx.gbl...
just... why?

If you want that, why not try calling them foo.vw.sql, bar.prc.sql?

Marc
I don't want that - it's the company's naming convention, and the files are
in source control under names like that. I can't do anything about it, but
I'd like to be able to edit them more easily, and getting the IDE to
recognize them as SQL files would do that for me.

Tom
Feb 13 '08 #4
Thank you, Scott - good tip.

Tom Dacon
Dacon Software Consulting

"Scott Roberts" <sr******@no.spam.here-webworks-software.comwrote in
message news:%2****************@TK2MSFTNGP06.phx.gbl...
>
"Tom Dacon" <td****@community.nospamwrote in message
news:er**************@TK2MSFTNGP04.phx.gbl...
>Google groups didn't offer any help on this, and I tried this in the
vsnet.ide newsgroup but didn't get a response. I'm trying it here in
hopes that someone might have a clue:

The company I work for uses a couple of non-standard file name extensions
for files containing SQL: .vw for views, .prc for stored procedures. The
VS IDE doesn't recognize these as SQL files, so it doesn't do syntax
coloring like it does for files with the extension .sql.

In the Options dialog under Text Editors/File Extension, if you try to
add these extensions the dropdown list of editors doesn't contain the SQL
editor. How can I link those extensions to the SQL editor? Any
suggestions?

Thanks,
Tom Dacon
Dacon Software Consulting


http://www.engagesoftware.com/Blog/t...7/Default.aspx

Feb 13 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Thomas | last post by:
I would like to use something like .x rather than .aspx for my asp.net projects. One reason is, I'd rather everyone not know what language/platform our projects are written in. (I like security AND...
1
by: www.MSmobiles.com | last post by:
Hi! I am using something like this in web.config : <authentication mode="Forms"> <forms name=".MSMOBILES_COM___COOKIE" loginUrl="login.aspx" protection="All" timeout="30" path="/">
3
by: Shapper | last post by:
Hello, I created a script to upload a file. To determine the file type I am using userPostedFile.ContentType. For example, for a png image I get "image/png". My questions are: 1. Where can...
2
by: Dan | last post by:
Hi, I know this code is not entirely javascript, but bare with me. Can you please tell me why this does not work: page: filemanager.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0...
29
by: jaysherby | last post by:
I'm new at Python and I need a little advice. Part of the script I'm trying to write needs to be aware of all the files of a certain extension in the script's path and all sub-directories. Can...
1
by: jonathan184 | last post by:
trying to rename filenames and extensions then add a header in line1 of each file if the header existed in line 1 to go to the next file. but i am getting error explciti errors Here is my...
2
butro
by: butro | last post by:
I have a form which can check whether is an image or not. But when i try to choose a real image whose name include more than one "." character, the script fails. The split function can not be detect...
0
by: Skywave | last post by:
Hi All Firstly: I have searched everywhere! I couldn't find anything! Secondly: I am VERY new (1 and a half days) to C#, but I have been doing VB6 and VB.Net for years now. I want to learn C# ! ...
5
by: Krustov | last post by:
I have the following list of image files . When searching the latest (numbered file) in this particular case its background_4.*** and its a .jpg file - but - the latest file in the list could...
4
by: Tom Dacon | last post by:
Google groups didn't offer any help on this, and I tried this in the vsnet.ide newsgroup but didn't get a response. I'm trying it here in hopes that someone might have a clue: The company I work...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.