때때로 공백 대신 단단한 탭으로 작업하는 코드로 작업합니다. 인터프리터에게 적어도 임시적으로 정상 공백으로 탭을 처리하도록 지시하는 repl 명령이 있습니까?스칼라에서 탭 완료를 일시적으로 사용 안 함 Repl
3
A
답변
3
는 사실 :paste
좋은 옵션처럼 들리지만, 당신이 정말로 키 바인딩을 무시하려는 경우 당신은 당신의 자신의 설정은 다음과 같이 파일을 제공 할 수 있습니다
scala -Djline.keybindings=myfile
나는 기본 스칼라 항아리에서 고개 파일의 형식은 파일 scala/tools/jline/keybindings.properties
에서
jline.jar
에서 :이 같은
# Keybinding mapping for JLine. The format is:
# [key code]=[logical operation]
# CTRL-A: move to the beginning of the line
1=MOVE_TO_BEG
# CTRL-B: move to the previous character
2=PREV_CHAR
# CTRL-D: close out the input stream
4=EXIT
# CTRL-E: move the cursor to the end of the line
5=MOVE_TO_END
# CTRL-F: move to the next character
6=NEXT_CHAR
# CTRL-G: abort
7=ABORT
# BACKSPACE, CTRL-H: delete the previous character
# 8 is the ASCII code for backspace and therefor
# deleting the previous character
8=DELETE_PREV_CHAR
# TAB, CTRL-I: signal that console completion should be attempted
9=COMPLETE
명령 MATC 교체 힌지 옵션 9 빈 문자열.
http://www.scala-sbt.org/release/docs/Howto/interactive.html#change-keybindings
+1
감사 – javadba
관련 문제
- 1. 인터넷 탐색기의 탭 사용 안 함 = "사용 안 함"단추
- 2. 재정의시 일시적으로 gcc 경고 사용 안 함
- 3. QTableView의 UI 업데이트 일시적으로 사용 안 함
- 4. 일시적으로 OpenCart에서 수량 할인 사용 안 함
- 5. TabBar에서 탭 사용 안 함
- 6. 티타늄 : TabGroup 내에서 탭 사용 안 함
- 7. jQuery 탭 jQuery 스크롤 사용 안 함
- 8. 텍스트 전환 탭 사용 안 함
- 9. uitableviewcell에서 다중 탭 사용 안 함
- 10. 더블 탭 팝업 사용 안 함 UITextView
- 11. 사용 안 함 대신
- 12. 스칼라에서 연산 오버로딩 REPL
- 13. ClickListener 이벤트 사용 안 함
- 14. TinyMCE 편집기 사용 안 함
- 15. API를 사용하여 일시적으로 Facebook 계정 사용 안 함
- 16. ASP에서 가장 (impersonation)을 일시적으로 사용 안 함
- 17. 일시적으로 Asp .NET MVC 2에서 컨트롤러 사용 안 함
- 18. 프로그래밍 방식으로 일시적으로 자동 업데이트 사용 안 함
- 19. 일시적으로 ReSharper 6의 StyleCop 경고 사용 안 함
- 20. Emberjs - 일시적으로 속성 변경 알림 사용 안 함
- 21. CentOS에서 UseGCOverheadLimit 사용 안 함
- 22. jQuery UI 탭 : "첫 번째 탭"사용 안 함
- 23. navigationitem backbarbutton 사용 안 함
- 24. Jquery/bootstrap 사용 안 함 버튼
- 25. UIPickerView 사용 안 함
- 26. 저장소 사용 안 함
- 27. SessionStateModule 사용 안 함
- 28. ultraWebGrid 사용 안 함
- 29. CheckedTextView 사용 안 함
- 30. JButton 사용 안 함
나는'제안 : paste' ... 그 좋은 뒤를 쫓고에 대한 –