Posts πŸ‘€ [Today I Learned] 20210512_TIL
Post
Cancel

πŸ‘€ [Today I Learned] 20210512_TIL

20210512_TIL

VSC - Java 자주 μ“°μ΄λŠ” λͺ…λ Ήμ–΄ μžλ™μ™„μ„±


  • public class μžλ™μ™„μ„±: class만 μž…λ ₯ ν›„ λ„€λͺ¨λ°•μŠ€ μ—”ν„°
  • public static void main(String[] args) μžλ™μ™„μ„±: main만 μž…λ ₯ ν›„ λ„€λͺ¨λ°•μŠ€ μ—”ν„°
  • System.out.println() μžλ™μ™„μ„±: sysout만 μž…λ ₯ ν›„ λ„€λͺ¨λ°•μŠ€ μ—”ν„°
  • λ©€ν‹°μ»€μ„œ μ‚½μž…: ctrl + alt + ⬆, ⬇
  • ν˜„μž¬ ꡬ문 볡사: alt + shit + ⬆, ⬇



VSC - Java μ—λŸ¬μ½”λ“œ ν•΄κ²°


μ—λŸ¬λ©”μ‹œμ§€: β€œ.java is not on the classpath of project, only syntax errors are reported”

  • 해결방법(1): VSC μž¬μ‹œμž‘

  • 해결방법(2): μ»€λ§¨λ“œ νŒ”λ ˆνŠΈ(ctrl + shift + P) μ—΄κ³  Java: Clean Java Language Server Workspace μž…λ ₯

This post is licensed under CC BY 4.0 by the author.

β˜•οΈ [Java] 30일 μ•ˆμ— 기초 λ–ΌκΈ°/ DAY-05

β˜•οΈ [Java] 30일 μ•ˆμ— 기초 λ–ΌκΈ°/ DAY-06