Closed pire closed 1 year ago
Do those views have an associated filename? There's ways around that by changing the heartbeat type to something other than file, but having a filename is best for project detection, branch detection, and language detection.
🤔 I'm unsure about a filename tbh! Probably not since they represent tables in databases?
In DBeaver we can create Projects, which contain Connections, and each Connection will have its databases.
At the moment the Project name is sent to Wakatime, and if you are writing SQL, which can be saved as an sql file, as well; By default the filename is Script.sql even if you haven't saved the file.
I assume the plugin requires a file to be open to measure time spent on it?
This line might be preventing it from tracking Diagrams:
I aaaaaaaaaaaaaaaaaaaaaaam clueless about .java!
Would this be something I can find locally, change and try out for you without building the plugin?
Am on MacOS Monterey 12.6
Added support for DBeaver properties, diagrams, and other editor types with 66888a07db5afe7397943b86d4d99bf1fbb0c80f.
At the moment it only tracks time spent in the query editor.
Unsure if this is possible, but would be amazing if the plugin could also track the time spent in the other database views Properties, Data, ER Diagram.