2009-07-30 184 views
0

是否可以配置Visual Studio 2008中自动删除在这样的SQL文件行:宏在Visual Studio 2008

prompt PL/SQL Developer import file 
prompt Created on jueves, 30 de julio de 2009 by pepe 
set feedback off 
set define off 
prompt Disabling triggers for MYTABLE... 
alter table MYTABLE disable all triggers; 
  1. 删除所有以迅速启动线。
  2. 替换;由\ r \ n和char /。

是否有可用的做到这一点的任何扩展或宏?

回答

1

我不会为宏麻烦 - 我只是使用搜索和使用正则表达式替换。无可否认,Visual Studio的正则表达式有些不符合标准,但他们应该能够应对这一点。

+0

我更喜欢宏与我公司所有的开发者分享。我认为更好有共同的功能,是不是? – 2009-07-30 13:09:23