How can we help you today? How can we help you today?
bis
I don't use Resharper, but for me in vanilla VS 2005, in both VB and C#, Intellisense is triggered by a ".". In general, Visual Studio does a good job of triggering Intellisense at appropriate times, with appropriate suggestions. Speaking for myself, I don't mind "aggressive" popups, but I do mind both the "aggressively wrong" popups in the beta and the "popups, still often wrong, only displayed after letters" in the latest patch. Times when a candidate list should be displayed but isn't: after "from " after "tablename." after "on " (and the list should not disappear if I happen to type a "." after "join " after ", " Times when the wrong candidate list is displayed (For all of these examples, SQL Prompt displays table names when the only valid syntax is some SQL keyword or separator): after a column name or '*' in the from clause after "tablename {letter}" - i.e. when typing a table alias - you could make the argument that there should be a completion list containing 'on' (if it follows a 'join'), or 'where', 'order by', and 'group by', but I'd say that such a list would be more of a distraction than a help, and there should be no popup. after a condition in a join or where clause - again, it might be helpful to have 'and', 'or', 'order by', and 'group by' What I want most from this product is to be able to bang out a query with a minimum of typing. I want queries to flow out of my brain and into the computer with as little motion as possible; for instance, to end up with a query like this: select * from Foodalicious f join Bartastic b on b.FoodaliciousId = f.FoodaliciousId join Quuxisms q on q.BartasticId = q.BartasticId where q.QuuxismId = 3 order by f.FoodaliciousId, b.BartasticId desc I want to press keys like this: ssf{tab} foo{tab} f join bar{tab} b on {tab} join qu{tab} q on {tab} where q.q{tab} = 3 ord{tab} f.f{tab}, b.b{tab} d{tab} The ratio of keystrokes between the two is almost 3:1. Being able to type like that requires some aggression, but especially contextual awareness from SQL Prompt. When I have to push Ctrl-space to pop up a list, or Esc to hide one, two things happen: my brain has to switch from thinking about the query that I am writing to thinking about how SQL Prompt works, and I have to type more keystrokes. As it stands, SQL Prompt 2/PromptSQL was better at making me faster than SQL Prompt 3. / comments
I don't use Resharper, but for me in vanilla VS 2005, in both VB and C#, Intellisense is triggered by a ".". In general, Visual Studio does a good job of triggering Intellisense at appropriate tim...
0 votes
Here's a quick history of how computers have been punching me in the eyes (or not) with their color schemes: The Commodore 64, which had light blue text on a darker blue background - very easy on the eyes The Apple II, which had white text on a black background - also very nice to look at. (except for the weird color fringing around the edges of characters due to Apple's before-its-time sub-pixel rendering.) MS-DOS. Light gray on black. So soothing. Turbo Pascal, WordPerfect, MS Word, and many others for DOS: white or yellow text on a blue background. Very easy to read. (And Turbo Pascal 7 had syntax highlighting!) Windows 3.x, 9x. Black text on a white background by default, which portends much. But at least it's easy to change to white-on-black. AutoCAD: white lines on a black background by default. Emacs: Has 'light' and 'dark' settings as well as complete customizability. I use 'dark'. Visual Studio and Query Analyzer: follows Windows' color scheme, and allows all of the syntax highlighting colors to be customized. Red Gate SQL Prompt: sometimes follows Windows' color scheme, sometimes not. This is very much in keeping with new versions of Windows, Office, and many other applications. I don't need white-on-black, but if I have to stare at a glorified light bulb all day, I want it to be as dim as possible, and that's what white-on-black does. Here's a discussion on the topic: http://cafe.elharo.com/ui/black-on-white-good-white-on-black-bad/ / comments
Here's a quick history of how computers have been punching me in the eyes (or not) with their color schemes: The Commodore 64, which had light blue text on a darker blue background - very easy on ...
0 votes
I also have the same problem (SQL Prompt will not insert any text) on Windows Vista. This seemed mysterious until I went into the Snippet Editor and clicked Test Snippet. Doing so resulted in this message box: SQL Prompt There was an error trying to send the code to the text box OK After clicking OK, another dialog box appeared, with 3 buttons: Details, Continue, and Quit, and this text: The application attempted to perform an operation not allowed by the security policy. The operation required the SecurityException. To grant this application the required permission please contect your system administrator, or use the Microsoft .NET security policy administration tool. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will be shut down immediately. Unable to create hook. Clicking the Details button shows this text: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Security.SecurityException: Unable to create Hook. at System.Windows.Forms.SendKeys.InstallHook() at System.Windows.Forms.SendKeys.Send(String keys, Control control, Boolean wait) at System.Windows.Forms.SendKeys.Send(String keys) at _37._1(Object , EventArgs ) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll RedGate.SQLPrompt Assembly Version: 2.0.0.59 Win32 Version: 2.0.0.59 CodeBase: file:///C:/Program%20Files/Development/SQL%20Prompt/RedGate.SQLPrompt.exe System.Windows.Forms Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll System Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll System.Drawing Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll RedGate.SQL.Shared Assembly Version: 5.2.0.2 Win32 Version: 5.2.0.2 CodeBase: file:///C:/Program%20Files/Development/SQL%20Prompt/RedGate.SQL.Shared.DLL System.Xml Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll System.Data Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll RedGate.Update.Client Assembly Version: 1.2.0.3 Win32 Version: 1.2.0.3 CodeBase: file:///C:/Program%20Files/Development/SQL%20Prompt/RedGate.Update.Client.DLL System.Web.Services Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system.web.services/1.0.5000.0__b03f5f7f11d50a3a/system.web.services.dll System.Web Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system.web/1.0.5000.0__b03f5f7f11d50a3a/system.web.dll mqr8phi7 Assembly Version: 0.0.0.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll System.EnterpriseServices Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.2032 CodeBase: file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll antlr.runtime Assembly Version: 2.7.5.2 Win32 Version: 2.7.5.2 CodeBase: file:///C:/Program%20Files/Development/SQL%20Prompt/antlr.runtime.DLL ************** JIT Debugging ************** To enable just in time (JIT) debugging, the config file for this application or machine (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the machine rather than being handled by this dialog. I tried to use the ".NET Configuration 1.1" control panel applet to give SQL Prompt the appropriate permission, but gave up after trying several things, the most promising of which was creating a Code Group for SQL Prompt, with a membership condition of SQL Prompt's Strong Name and the FullTrust permission group. But, like I said, that didn't work. / comments
I also have the same problem (SQL Prompt will not insert any text) on Windows Vista. This seemed mysterious until I went into the Snippet Editor and clicked Test Snippet. Doing so resulted in thi...
0 votes