숭고한 텍스트 편집기에서 개요보기를 얻는 방법은 무엇입니까?
Windows 용 숭고한 텍스트 편집기 에서 개요를 보려면 어떻게합니까 ?
미니 맵은 도움이되지만 전통적인 개요 (빠른 탐색 및 방향을 위해 나타나는 순서대로 코드의 모든 기능을 표시 할 수있는 목록)가 누락되었습니다.
어쩌면 플러그인, 애드온 또는 비슷한 것이 있습니까? 어느 단계가 필요한지 간단히 이름을 지정할 수 있다면 좋을 것입니다.
히트 CTRL+ R나 CMD+ R함수 목록, Mac 용. 이것은 Sublime Text 1.3 이상에서 작동합니다.
모든 작업 접기를 사용합니다. 선언에 이르기까지 모든 것을 최소화하고 모든 메소드 / 함수를 볼 수 있으며 관심있는 것을 확장 할 수 있습니다.
패키지 컨트롤에서 Outline 이라는 플러그인을 사용할 수 있습니다. 사용해보십시오! https://packagecontrol.io/packages/Outline
참고 : 다중 행 / 열 모드에서는 작동하지 않습니다. 여러 행 / 열 작업의 경우 다음 포크를 사용하십시오. https://github.com/vlad-wonderkidstudio/SublimeOutline
나는 짧게 모양 SublimeText 3 API 및 view.find_by_selector(selector)
지역의 목록을 반환 할 수있을 것으로 보인다.
따라서 파일의 개요 / 구조를 표시하는 플러그인이 가능하다고 생각합니다.
다음과 같이 표시되는 플러그인 :
참고 : 함수 이름 표시 플러그인 클래스 / 메소드 이름을 추출하기 위해 영감을 사용할 수 또는 ClassHierarchy이 윤곽 구조를 추출
개요를 인쇄하거나 저장하려면 ctr / command + r이 유용하지 않습니다. 작업하는 언어와 상황 에 따라 다음 grep 또는 그 변형 을 간단하게 찾을 수 있습니다 . ^[^\n]*function[^{]+{
찾기를 모두 수행하면 결과를 복사하여 새 문서에 붙여 넣을 수 있으며 기능 수에 따라 정리하는 데 오래 걸리지 않아야합니다.
답은 완벽하지 않습니다. 특히 주석에 단어 기능 (또는 동등한 단어)이있는 경우에는 도움이되는 답변이라고 생각합니다.
매우 빠른 편집으로 이것은 내가 지금하고있는 일에서 얻은 결과입니다.
PathMaker.prototype.start = PathMaker.prototype.initiate = function(point){};
PathMaker.prototype.path = function(thePath){};
PathMaker.prototype.add = function(point){};
PathMaker.prototype.addPath = function(path){};
PathMaker.prototype.go = function(distance, angle){};
PathMaker.prototype.goE = function(distance, angle){};
PathMaker.prototype.turn = function(angle, distance){};
PathMaker.prototype.continue = function(distance, a){};
PathMaker.prototype.curve = function(angle, radiusX, radiusY){};
PathMaker.prototype.up = PathMaker.prototype.north = function(distance){};
PathMaker.prototype.down = PathMaker.prototype.south = function(distance){};
PathMaker.prototype.east = function(distance){};
PathMaker.prototype.west = function(distance){};
PathMaker.prototype.getAngle = function(point){};
PathMaker.prototype.toBezierPoints = function(PathMakerPoints, toSource){};
PathMaker.prototype.extremities = function(points){};
PathMaker.prototype.bounds = function(path){};
PathMaker.prototype.tangent = function(t, points){};
PathMaker.prototype.roundErrors = function(n, acurracy){};
PathMaker.prototype.bezierTangent = function(path, t){};
PathMaker.prototype.splitBezier = function(points, t){};
PathMaker.prototype.arc = function(start, end){};
PathMaker.prototype.getKappa = function(angle, start){};
PathMaker.prototype.circle = function(radius, start, end, x, y, reverse){};
PathMaker.prototype.ellipse = function(radiusX, radiusY, start, end, x, y , reverse/*, anchorPoint, reverse*/ ){};
PathMaker.prototype.rotateArc = function(path /*array*/ , angle){};
PathMaker.prototype.rotatePoint = function(point, origin, r){};
PathMaker.prototype.roundErrors = function(n, acurracy){};
PathMaker.prototype.rotate = function(path /*object or array*/ , R){};
PathMaker.prototype.moveTo = function(path /*object or array*/ , x, y){};
PathMaker.prototype.scale = function(path, x, y /* number X scale i.e. 1.2 for 120% */ ){};
PathMaker.prototype.reverse = function(path){};
PathMaker.prototype.pathItemPath = function(pathItem, toSource){};
PathMaker.prototype.merge = function(path){};
PathMaker.prototype.draw = function(item, properties){};
참고 URL : https://stackoverflow.com/questions/2075317/how-to-get-an-outline-view-in-sublime-texteditor
'programing tip' 카테고리의 다른 글
최대 절전 모드의 경량 대안? (0) | 2020.07.28 |
---|---|
C #에서 여러 열거 형 값을 어떻게 전달합니까? (0) | 2020.07.28 |
프로그램의 실행 시간을 계산하는 방법은 무엇입니까? (0) | 2020.07.28 |
BroadcastReceiver.onReceive는 항상 UI 스레드에서 실행됩니까? (0) | 2020.07.28 |
OpenSSL을 사용하여 공개 키를 추출하는 방법은 무엇입니까? (0) | 2020.07.28 |