Eclipse 에서 File 을 Open 할때 기본으로 Open 되는 Editor 가 존재한다.

 Eclipse 에서는 File Content 의 특정 내용을 감지하여, 특정 Editor 로 Open 하도록 설정 할 수 있는 확장점이 제공된다.

 


예제로 다음과 같이 test.xml 이란 파일이 열릴때에 TestEditor 가 열리도록 설정해보도록하자.

- test.xml


  
    leechwin
    test xml
  


- plugin.xml

   - org.eclipse.core.contenttype.contentTypes 을 확장하여 org.leechwin.contenttype.testProfile 이란 id 로 확장점을 생성하고 Root Element 가 test Element 인지 확인한다

   - Editor 에서는 contenttypebinding 를 추가하여 위에서 확장한 org.leechwin.contenttype.testProfile 로 해당 Content 일경우 연결되게 한다.

   
      
         
            
            
            
         
      
   

   
      
          
         
         
      
   


위와 같은 예제로 File Content 의 일부 내용이나 특정 옵션으로 Editor 를 연결 시킬수 있다.

Posted by leechwin
,

Browser Object Model

Web 2014. 2. 3. 22:40

 Browser Object Model (BOM) 에 관한 slide


'Web' 카테고리의 다른 글

[Chrome] Your profile could not be opened correctly  (0) 2014.10.24
[Browser] Bookmarklet  (0) 2014.08.23
[Browserling] Cross Browser Testing Service  (0) 2013.12.10
[Brackets] Open source code editor for the web  (2) 2013.12.10
Web Dev Tools Review  (0) 2013.12.10
Posted by leechwin
,

 윈도우즈에서 GitHub Client 나 Git Bash 와 같은 Git client 사용중 갑자기 curl_multi_timeout 에러메시지와 함께 libcurl.dll 이 어쩌고 저쩌고 하는 에러가 발생하는 경우가 있다.


 이때에는 일단 사용중인 브라우져들을 전부 닫고, 다음경로의 libcurl.dll 을 삭제한 후 다시 Git client 를 사용하면 잘 동작한다.

  • win 32bit: C:\Windows\System32\libcurl.dll
  • win 64bit: C:\Windows\SysWOW64\libcurl.dll

 만약 그래도 동작하지 않는다면, Git Bash 나 GitHub Client 를 재설치 해보도록 한다.

 

 위의 내용으로 해결이 안되면 다음과 같이 수정해본다.

  • Git 이 설치된 경로에서 libcurl.dll 을 Copy ( C:\Program Files\Git\bin\libcurl.dll )
  • Copy한 libcurl.dll 을 다음경로에 Past ( C:\Program Files\Git\bin\libexec\git-core )

 

Posted by leechwin
,