본문 바로가기

개발 환경/Setting&Tip8

[eclipse] tab size 변경 1. Window -> Preferences (or Eclipse -> Preferences) 2. java -> Code Style -> Formatter 3. Active Profile: Eclipse [built-in] -> Edit 4. Indentation -> Tab size 변경 5. 새로운 Profile name 생성 후 OK 출처 www.cis.upenn.edu/~matuszek/cit594-2011/Pages/eclipse-settings.html 2020. 12. 28.
[eslint] Error: 'process' is not defined 발생 var process: NodeJS.Process 'process' is not defined. eslint[no-undef](https://eslint.org/docs/rules/no-undef)해결 .eslintrc.json 파일에서 설정 수정 browser 대신 node로 변경 (혹은 "node": true 추가) { "env": { "node": true, "commonjs": true, "es2021": true }, ... }출처 ESLint - 'process' is not defined 2020. 12. 24.
[PowerShell] Error: 이 시스템에서 스크립트를 실행할 수 없으므로 ... 발생 예전부터 VS Code의 powershell에서 스크립트 실행시 동작하지 않았다. 그냥 저냥 Git Bash를 사용하며 어떻게 다른 방법으로 해결하고 지나갔는데 eslint --init을 진행할 수 없어서 (git bash 는 대화형을 지원하지 않는다) powershell로 진행하려다 문제가 발생했고 겸사 겸사 해결했다. Error 이 시스템에서 스크립트를 실행할 수 없으므로 ... 파일을 로드할 수 없습니다. 자세한 내용은 about_Execution_Policies(https://go.microsoft.com/fwlink/?LinkID=135170)를 참조하십시오. + CategoryInfo : 보안 오류: (:) [], PSSecurityException + FullyQualifiedError.. 2020. 12. 24.
[ VSCode ] JShint , ES6 설정하기 1. root 폴더에서 .jshintrc 파일을 만들어 준다.2. esversion 을 6으로 설정해준다.{ "esversion": 6 } 출처https://stackoverflow.com/questions/27441803/why-does-jshint-throw-a-warning-if-i-am-using-const 2017. 9. 3.
[ WebStorm ] Javscript ECMAScipt 6 설정하기 File > Settings > Languages & Frameworks > JavaScriptJavaScript language version 을 ECMAScript 6로 바꿔준다. 2017. 8. 31.
[ WebStorm ] 프로젝트를 깃허브로 연결하기 1. GitHub 사용을 가능하게 만든다.VCS > Enable Version Control Integration... 2. Git 으로 설정 3. GitHub로 프로젝트 ImportVCS > Import into Version Control > Share Project on GitHub 4. 생성 할 레파지토리의 이름과 설명을 적는다. 5. 성공~ 깃허브에 접속하면 새롭게 생성된 레파지토리를 확인할 수 있다. 출처https://www.jetbrains.com/help/webstorm/2017.2/using-git-integration.html#put-existing-project-under-Git 2017. 8. 31.