728x90 전체 글43 [Visual Studio Code] code formatter 구성하는 법 How do you change the formatting options in Visual Studio Code? How do you change the formatting options in Visual Studio Code? I know you can Format Code using Ctrl+F / Cmd+F in Visual Studio Code but how do you change the formatting options for each language? For example, in Visual Studio 2013 I can choose compact mode fo... stackoverflow.com 상기 링크의 내용을 토대로 구글링 해보니 대략 2 가지 방법이 있다고 나온다. 명령 팔레트 .. Novice Developer 2022. 11. 18. [Visual Studio Code] 웹 브라우저 여는 방법 & 쓸만한 Extensions 원 글은 아래와 같이 브라우저 관련 글이나 글 하단에 제목과 같은 내용을 담고 있어서 인용하여 기억하고자 한다. How To Open In Browser From VS Code How to Open in Browser from VS Code If you’re using HTML, PHP, or JS files, you might want to open them in your browser from Visual Studio Code. However, there’s no integrated option to do so. This can be frustrating, especially if you want to www.alphr.com 상기 링크에서 추가로 인용하는 내용은 아래와 같다. Other Useful.. Novice Developer 2022. 11. 17. The method getString(String) is undefined for the type JSONObject Java(67108964) 제목과 같은 오류가 발생한 코드 부분은 아래와 같다. 그리고 관련하여 auto import된 구문은 아래와 같다. ※ 오류 import org.h2.util.json.JSONObject; 상기 import 때문에 제목과 같은 오류가 발생했다는 사실을 찾아냈다. 그리고 발생 오류를 없애기 위해서는 아래와 같이 선언해줘야 한다. ※ 정상 import org.json.JSONObject; 정상 import 선언 후에는 오류가 사라진 것을 확인할 수 있다. Java 2022. 11. 17. JSONArray 내 List에 for 문 적용 시 기존과 다른 점 일반적으로 arraylists라는 List에 for 문 적용 시 사용하는 Syntax for (int i = 0; i < arraylists.size(); i++ { 중략 } JSONArray 내 List에 for 문 적용 시 사용하는 Syntax for (int i = 0; i < arraylists.length(); i++ { 중략 } Java 2022. 11. 17. [Visual Studio Code] 'auto import' 설정 Java 코딩 시 IntelliJ IDEA는 Preferences에서 auto import 설정(insert imports on paste & unambiguous imports on the fly)이 가능하다. Visual Studio Code에서도 이와 유사하게 설정을 해줄 수 있다. 메뉴에서 파일 > 기본 설정 > 설정 Ctrl + , 선택 상단 검색바에 import 입력 후 엔터 좌측에서 Java 선택 우측 스크롤바를 내려서 Java > Save Actions: Organize Import 확인 Enable/disable auto organize imports on save action 체크 그래도 마음이 안놓일 경우에는 Ctrl + + P 눌러서 명령 팔레트 실행 settings.json 입력 .. Novice Developer 2022. 11. 16. [Visual Studio Code] 다중 선택 크게 2가지로 접근할 수 있으며 사용법은 아래와 같다. 연속된 여러 줄 선택 시: Ctrl + Alt + 위/아래 화살표키 동떨어진 개체를 선택 시: Alt + 마우스 클릭 상기 방법 중 하나를 통하여 복수의 단어/문장/문단 등을 한 번에 수정할 수 있다. Novice Developer 2022. 11. 15. [Visual Studio Code] Type definition error (중략) com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of (중략) (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- o.. 이 글을 작성하는 현재 온라인으로 수강하고 있는 SpartaCodingClub - 웹개발의 봄, Spring 90기 과정 중 맞닥트린 오류를 제목으로 잡았다. ※ 오류 Type definition error: [simple type, class (중략)]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of (중략) (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator) 현재 과정을 따라가면.. Java 2022. 11. 15. [Visual Studio Code] 일명 VSCode 이용하여 Java Coding 시 기억하면 좋은 내용 IntelliJ IDEA에서는 알아서 새로운 파일이나 패키지 생성 시 Class, Interface, Package 등을 구분해서 알려준다. 상용이니 당연한 것이겠지만, VSC는 그렇지 않다. 그래서 나름 찾아낸 방법이다. Class 생성 시: VSC 좌측 탐색기에서 원하는 부분 우클릭 > 새 파일 > 파일명.java 입력 (확장자 .java 반드시 입력 ⇒ html 파일 생성 시에는 확장자 파일명.html 처럼 확장자 .html 반드시 입력!!!) Interface 생성 시: VSC 좌측 탐색기에서 원하는 부분 우클릭 > 새 파일 > 파일명.java 입력 > 우측 코딩 창에 나오는 class 부분에서 interface 선택 Package 생성 시: VSC 좌측 탐색기에서 원하는 부분 우클릭 > 새 폴더.. Novice Developer 2022. 11. 14. [Visual Studio Code] 코드 정렬 단축키 아래 글에서 참조했다. Visual Studio Code에서 코드 자동 정렬 Visual Studio Code에서 코드 자동 정렬 Visual Studio Code(VSCode)에서 코드를 자동 정렬하는 방법을 소개합니다. 단축키는 OS마다 조금씩 다릅니다. Windows는 `Shift + Alt + F`, MAC은 `Shift + Option + F`, Linux는 `Ctrl + Shift + I`입니다. 간혹 다른 함수에 codechacha.com OS별로 요약하면 다음과 같다. Windows: Shift + Alt + F MAC: Shift + Option + F Linux: Ctrl + Shift + I 그 외 메뉴에서 선택하려면 언어별(e.g., Windows 경우)로 다음과 같다. 한글: Vi.. Novice Developer 2022. 11. 14. SpartaCodingClub - [왕초보] 엑셀보다 쉬운, SQL ◎ 0주차 강의명: [왕초보] 엑셀보다 쉬운, SQL 기간: 2022년 11월 07일 (월) ~ 2022년 12월 05일 (월), 총 4주 완주할 수 있기를... ◎ 1주차 DBeaver Community Download Download | DBeaver Community Download Tested and verified for MS Windows, Linux and Mac OS X. Install: Windows installer – run installer executable. It will automatically upgrade version (if needed). MacOS DMG – just run it and drag-n-drop DBeaver into Applications. Debian .. Novice Developer 2022. 11. 11. The type List is not generic; it cannot be parameterized with arguments 블라블라(e.g., <Course>) Java(16777740) import 시 아래처럼 정상 List 패키지를 불러오지 않으면 생성되는 오류이다. ※ 정상 import java.util.List; 아래는 오류를 불러오는 List 패키지를 import 한 경우이다. ※ 오류 import antlr.collections.List; 또는 import java.awt.List; 또는 import ...... Java 2022. 11. 10. GetMapping cannot be resolved to a type Java(16777218) 제목과 같은 오류 확인 시 상단에 import org.springframework.web.bind.annotation.GetMapping; 입력 Java 2022. 11. 8. 이전 1 2 3 4 다음 💲 추천 글 반응형 SMALL