How do I do cross-project refactoring with ropemac?

I have a file structure that looks something like this:

project1_root/
    tests/
        ...
    src/
        .ropeproject/
        project1/
            ... (project1 source code)

project2_root/
    tests/
        ...
    src/
        .ropeproject/
        project2/
            ... (project2 source)

I often switch between these two projects, and project2 depends on project1. What is the best way to configure ropemacs for this? It would be nice if I could facilitate cross-project refactoring (which I mentioned in the link to the cable library), but I will be glad if I can at least open both projects at the same time without switching back and forth.

+3
source share
1 answer

ropemacs ropemode ( http://rope.sourceforge.net/ropemacs.html , , , .ropeproject , (ropemode/interfaces.py: _guess_project) .ropeproject.

, , () .ropeproject, , .rope project1/ project2/.

, , , , orignal.ropeproject dirs , ropeproject .

+3

Source: https://habr.com/ru/post/1713164/


All Articles