GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix #1208 · sirusdv/pythonVSCode@5bf9142

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • pythonFiles
    • refactor.py
    • rope
      • __init__.py
      • base
        • __init__.py
        • arguments.py
        • ast.py
        • astutils.py
        • builtins.py
        • change.py
        • codeanalyze.py
        • default_config.py
        • evaluate.py
        • exceptions.py
        • fscommands.py
        • history.py
        • libutils.py
        • oi
          • __init__.py
          • doa.py
          • docstrings.py
          • memorydb.py
          • objectdb.py
          • objectinfo.py
          • runmod.py
          • soa.py
          • soi.py
          • transform.py
        • prefs.py
        • project.py
        • pycore.py
        • pynames.py
        • pynamesdef.py
        • pyobjects.py
        • pyobjectsdef.py
        • pyscopes.py
        • resourceobserver.py
        • resources.py
        • simplify.py
        • stdmods.py
        • taskhandle.py
        • utils
          • __init__.py
          • datastructures.py
          • pycompat.py
        • worder.py
      • contrib
        • __init__.py
        • autoimport.py
        • changestack.py
        • codeassist.py
        • finderrors.py
        • findit.py
        • fixmodnames.py
        • fixsyntax.py
        • generate.py
      • refactor
        • __init__.py
        • change_signature.py
        • encapsulate_field.py
        • extract.py
        • functionutils.py
        • importutils
          • __init__.py
          • actions.py
          • importinfo.py
          • module_imports.py
        • inline.py
        • introduce_factory.py
        • introduce_parameter.py
        • localtofield.py
        • method_object.py
        • move.py
        • multiproject.py
        • occurrences.py
        • patchedast.py
        • rename.py
        • restructure.py
        • similarfinder.py
        • sourceutils.py
        • suites.py
        • topackage.py
        • usefunction.py
        • wildcards.py
  • src/client
    • common
      • installer.ts
    • providers
      • renameProvider.ts
      • simpleRefactorProvider.ts
    • refactor
      • proxy.ts

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎pythonFiles/refactor.py‎

Copy file name to clipboardExpand all lines: pythonFiles/refactor.py
+11-6Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,18 @@
66
import sys
77
import json
88
import traceback
9-
import rope
109

11-
from rope.base import libutils
12-
from rope.refactor.rename import Rename
13-
from rope.refactor.extract import ExtractMethod, ExtractVariable
14-
import rope.base.project
15-
import rope.base.taskhandle
10+
try:
11+
import rope
12+
from rope.base import libutils
13+
from rope.refactor.rename import Rename
14+
from rope.refactor.extract import ExtractMethod, ExtractVariable
15+
import rope.base.project
16+
import rope.base.taskhandle
17+
except:
18+
jsonMessage = {'error': True, 'message': 'Rope not installed', 'traceback': '', 'type': 'ModuleNotFoundError'}
19+
sys.stderr.write(json.dumps(jsonMessage))
20+
sys.stderr.flush()
1621

1722
WORKSPACE_ROOT = sys.argv[1]
1823
ROPE_PROJECT_FOLDER = '.vscode/.ropeproject'
Collapse file

‎pythonFiles/rope/__init__.py‎

Copy file name to clipboardExpand all lines: pythonFiles/rope/__init__.py
-18Lines changed: 0 additions & 18 deletions
This file was deleted.
Collapse file

‎pythonFiles/rope/base/__init__.py‎

Copy file name to clipboardExpand all lines: pythonFiles/rope/base/__init__.py
-8Lines changed: 0 additions & 8 deletions
This file was deleted.
Collapse file

‎pythonFiles/rope/base/arguments.py‎

Copy file name to clipboardExpand all lines: pythonFiles/rope/base/arguments.py
-111Lines changed: 0 additions & 111 deletions
This file was deleted.
Collapse file

‎pythonFiles/rope/base/ast.py‎

Copy file name to clipboardExpand all lines: pythonFiles/rope/base/ast.py
-76Lines changed: 0 additions & 76 deletions
This file was deleted.
Collapse file

‎pythonFiles/rope/base/astutils.py‎

Copy file name to clipboardExpand all lines: pythonFiles/rope/base/astutils.py
-64Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.