Jump to content

santiago

Members
  • Content Count

    79
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by santiago

  1. santiago

    Ctrl Tab Ide Plugin

    Done πŸ™‚ Thx!
  2. santiago

    Ctrl Tab Ide Plugin

    Bug has been fixed :-). Have not recompiled the binaries yet.
  3. santiago

    Ctrl Tab Ide Plugin

    I have pushed the changes to GitHub. Have not recompiled the binaries yet though, as I plan to do some more work on it. Unfortunately the Welcome Page behaves very differently than all other module types (*.pas, *.dfm, *.dpr, *.dpk, etc...). It does not trigger ViewActivated events. At the end I got it to work by using the INTAEditServicesNotifier.DockFormUpdated. This is the only method that is triggered whenever the Welcome Page is activated.
  4. santiago

    Ctrl Tab Ide Plugin

    Am happy it is of use you. I could reproduce the problem you describe. Am about to complete the issue with the Welcome Page. Which has been an absolute nightmare... I have it working now, but need to test it well. Hope I can commit the changes tonight. As soon as I am through with that, will look at the scrolling issue. Thx for reporting.
  5. santiago

    Ctrl Tab Ide Plugin

    No idea how its called then. This is the root url: https://quality.embarcadero.com
  6. santiago

    Ctrl Tab Ide Plugin

    Thx. for the info! In case you have reported this, would you mind sharing the QC issue link(s)?
  7. santiago

    Ctrl Tab Ide Plugin

    The github binaries were compiled with the latest version. What issues are you having? There is a known issue with the welcome page which is next on my list.
  8. santiago

    Ctrl Tab Ide Plugin

    Am glad it is of use to you. πŸ™‚ Very valid suggestion indeed. Will be addressed with the next update. I hope to have a new update by next week. One thing I have noticed in the Delphi Community is that older Delphi Versions are still heavily in use. For curiosity why do you still use XE7? Is it bugs preventing you from upgrading?
  9. santiago

    Ctrl Tab Ide Plugin

    @Kas Ob. Thank you got the info. Indeed, using owner draw it would be possible. Did not even think about that. I will look into this in the coming days.
  10. santiago

    Ctrl Tab Ide Plugin

    @Dinar It is now possible to resize the form. I have published new binaries to github. I oriented my design towards Visual Studio. You are referring to Visual Studio Code which is a different product. Anyhow, I like how Visual Studio Code displays the open files. It displays the FilePath to the right of the FileName using a different color. It would indeed be nice to be able to have an option to use such a layout. I am using a VCL TListBox to display the list of open modules. I don't think I can accomplish such a look using the VCL TListBox. Maybe this can be accomplished using FireMonkey? I normally do GUI work in .NET and have never used FireMonkey before. Anyhow I will look into it.
  11. santiago

    Ctrl Tab Ide Plugin

    @Dinar Thx for the feedback. You've got fast fingers :-). I have fixed the issue when Ctrl + Tab is pressed and released almost immediately. I will add support for resizing the Window. Once that is done I will publish new binaries to GitHub. I will be out of town for the weekend. So it will most likely happen on Monday. The Welcome Page issue I will have to look into. I never use that page, so I never noticed. I oriented the way the file names are displayed to how Ctrl Tab works inside Visual Studio. The list view displays only the file names, no paths. The full path for the selected file is displayed at the bottom of the list. I find it too cluttered when the full path names are displayed.
  12. santiago

    Your RAD Studio 10.4 Sydney issues

    Ctrl + Left Mouse Click Navigation breaks with read-only files
  13. Hello, I have the exact same problem that Thomas describes in his blog: https://blog.dummzeuch.de/2020/06/06/fixing-wrong-position-and-size-of-the-delphi-10-4-ide-window/ Does anyone know the Issue number for this? So I can vote and comment. I have never had that issue before. Have used Rio for a long time already. Today I started to work with Delphi 10.4. Found this one: https://quality.embarcadero.com/browse/RSP-23859 [IDE doesn't correctly restore in full screen on a 4K monitor] That is not my exact problem though. My main monitor is in the center (laptop screen). To the left of it I have a secondary monitor. The Delphi IDE is maximized, but a 'gap' is left to the right edge of the screen. Yellow rectangle in picture...
  14. After further testing, this is indeed the issue I am having. https://quality.embarcadero.com/browse/RSP-23859 [IDE doesn't correctly restore in full screen on a 4K monitor] For me it ocurred when the Layout was switched to Debug. But I can reproduce the issue as described, in that support case. If I minimize the IDE and then maximize it, it does not restore to the original position. It is driving me insane though...
  15. santiago

    Your RAD Studio 10.4 Sydney issues

    Not a major issue, but ProductVersion is set to 26 (same as Delphi Rio) when it should be 27. https://quality.embarcadero.com/browse/RSP-29480 We have internal tools that are failing due to that. For now we have just edited the registry by hand.
  16. santiago

    Ctrl Tab Ide Plugin

    @Kas Ob. It is very simple to know if the plugin is causing the trouble. Just rename the DelphiCtrlTab.bpl file. The D2010 IDE should not be able to locate it at startup and the plugin will not be loaded. You can also just remove the entry from the KnownPackages registry key: <HKEY_CURRENT_USER>\Software\Embarcadero\BDS\xx.0\Known Packages Let me know what you find.
  17. santiago

    Ctrl Tab Ide Plugin

    @Kas Ob. Am happy it was useful for you and that you got it to work with D2010. πŸ™‚ No idea about the crash when rebuilding the plugin. The oldest Delphi Version I have tested it with is Seattle and that problem does not occur there. I have never used D2010, that was before I got started with Delphi. If possible you could submit a pull request, might be useful for others as well.
  18. Hello, I have defined a KeyBoardBinding by implementing IOTAKeyboardBinding. I register my keyboard binding using IOTAKeyboardServices.AddKeyboardBinding. It is working just fine, except when I activate a DFM file (Form-Editor). If I press the shortcut keys when a DFM file is active. Nothing happens. Anyone knows how to register a keybinding such that it works in the formeditor? Thank you!
  19. @Attila Kovacs Ctrl+alt+f12 does nothing for me. Also very incovenient, as I need two hands for it. I have now made my plugin available. https://github.com/santiagoIT/DelphiCtrlTab I work a lot with other IDE's, so Ctrl+Tab behaves now to what I am used to. Makes working with Delphi for me a little less painful now. πŸ™‚
  20. @David Hoyle Thanks for the info. I ended up using a local Keyboard hook. Something which I never quite understood with the Delphi IDE was the way that Ctrl+Tab is used to switch between open tabs. Ctrl+Tab traverses the tabs in the order in which they appear in the IDE. For me that is not very practical, because most of the time I want to switch back to the last active tab. So I then had a something simple I could work on to try out Delphi 10.4. I did a plugin that displays a form (works very similar to what you get in Visual Studio when you hit Ctrl+Tab) when Ctrl+Tab is pressed. While the Ctrl key is held down, you can press the tab key to iterate the opened tabs. Once you release the Ctrl key the plugin will activate the selected view. I now have the plugin working and have been working with it for a couple of hours. Now I can't imagine working in the Delphi IDE without it. πŸ™‚ Next weekend I will open source it. Might be useful to others as well.
  21. Hi there, I am using the Open Tools Api to develop a plugin for the Delphi IDE. What I would like to be able to do, is detect that a user has pressed a key in the code editor window. If the active file (module) is read-only I would then like to take a specific action. Unfortunately the Open Tools Api does not seem to offer the functionality I require (be notified of a key press in the editor window). The only other option I can think of, would be to use a Windows Hook. SetWindowsHookEx(WH_KEYBOARD, ... Maybe someone knows if there is a better way to achieve this instead of having to resort to a Windows Hook. Thanks!!
  22. santiago

    Dynamic Test creation possible?

    @Stefan Glienke These are the main pain points with DUnit: Viewer has no filter functionality. When you have hundreds of tests, you have to scroll until you find the test you would like to execute. Viewer is not DPI aware. Seems to be no longer mantained. Lack of test categories. We would like to be able to specify which test categories to run. Normally you don't want to run all test while developing. DUnitX seems to already have most features. Its open source, so I will take a look at how involved it would be to extend the viewer to show the tests grouped by category. Could you please give me a hint on how to dynamically create a Test in DUnitX? It is sufficient if you mention which class(es) I should look at. That would be a great headstart. Once I have that figured out I can look into the viewer issue. Thank you!!
  23. santiago

    Vcl Test Runner -> group by category

    Hi there, we have a ton of DUnit tests. I am considering migrating to DUnitX. In DUnit you can specify a SuitePath for your tests. This is nice, as they are displayed grouped by category: In DUnitX you can add a Category Attribute to the TextFixtures. Does the VCL runner support displaying the fixtures grouped by category? It seems to me that the VCL runner does not support categories at all. If this is the case, how do you group your tests? What is the test runner of choice? I did look at TestInsight, but the tests are displayed only after they have been run. When you have a huge quantity of tests, it is not an option to run all tests so they are discovered by TestInsight. Thank you!
  24. santiago

    Vcl Test Runner -> group by category

    @Stefan Glienke Thank you for the info. If I recall correctly I did click the "fast forward" button, but the tests only appeared in TestInsight after I ran them. As soon as I get a change I will test again.
Γ—