odoo-ide / pycharm-odoo

PyCharm plugin for Odoo
https://plugins.jetbrains.com/plugin/13499-odoo
Other
44 stars 5 forks source link

Missing search & replace context menus #400

Closed jerzyk closed 1 year ago

jerzyk commented 1 year ago

v2023.7.0.232 adds stubs and hides them in the project view - unfortunately as a side effect - options to search & replace are gone:

Screenshot 2023-07-19 at 08 31 29

with "old" option clicking on whole project will not show this, but clicking on content root of the code shows it:

Screenshot 2023-07-19 at 08 35 46
trinhanhngoc commented 1 year ago

Hi @jerzyk. Although the Find and Replace context menus are not displayed, their keyboard shortcuts still work. This seems to be an issue of PyCharm itself.

jerzyk commented 1 year ago

unfortunatelly, keyboard shortcuts do not work either - because search dialog is trying to use stubs directory as a base for searches (e.g. /Users/jerzyk/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-1/232.8660.49/PyCharm 2023.2 EAP.app.plugins/Odoo/stubs/odoo-stubs14)

trinhanhngoc commented 1 year ago

unfortunatelly, keyboard shortcuts do not work either - because search dialog is trying to use stubs directory as a base for searches (e.g. /Users/jerzyk/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-1/232.8660.49/PyCharm 2023.2 EAP.app.plugins/Odoo/stubs/odoo-stubs14)

Oh, you're right. Let me find a solution to this problem.

trinhanhngoc commented 1 year ago

Hi @jerzyk . The new version 2023.7.1 has been released with the improvement for Find/Replace in Files... actions. When running these actions (via keyboard shortcuts), the hidden odoo-stubs will not be used as the default directory for searching.

boom-solutions commented 1 year ago

Hi @jerzyk . The new version 2023.7.1 has been released with the improvement for Find/Replace in Files... actions. When running these actions (via keyboard shortcuts), the hidden odoo-stubs will not be used as the default directory for searching.

I still have big problem with shortcut keys in macOS

trinhanhngoc commented 1 year ago

Hi @jerzyk . The new version 2023.7.1 has been released with the improvement for Find/Replace in Files... actions. When running these actions (via keyboard shortcuts), the hidden odoo-stubs will not be used as the default directory for searching.

I still have big problem with shortcut keys in macOS

Hello @boom-solutions . Is your problem similar to the one stated here, or is it another problem related to keyboard shortcuts?

boom-solutions commented 1 year ago

the same problem, but in the shortcut, I faced big problems and lost so much code with only one (control+z) copy and paste is not working too, and I do not know when happened, but after spending some time in Pycharm, I faced the problem, the plugin is very nice, but this problem is so dangers.

trinhanhngoc commented 1 year ago

the same problem, but in the shortcut, I faced big problems and lost so much code with only one (control+z) copy and paste is not working too, and I do not know when happened, but after spending some time in Pycharm, I faced the problem, the plugin is very nice, but this problem is so dangers.

Can you provide steps to reproduce the problem so I can test it?

boom-solutions commented 1 year ago

really I still can not answer, but what I do now, I removed all plugins and just installed your plugin, and I will see, now 2nd day nothing happened. I have doubts, maybe come from another suggested plugin you mentioned in your documents, or maybe comes from PyDev.Debugger. but I believe, after installing your plugin and other related, the problem come.