vim에 관련해서 질문 올립니다.

saelly의 이미지

제가 함께 올린 그림에서 보이듯이.. 정의된 함수가 있으면, 매개변수가 저 그림처럼 자동적으로 뜨게 하려면

어떻게 해야 하나여? 어떤 플러그인을 받아야 저렇게 매개변수가 뜨나요?

File attachments: 
첨부파일 크기
Image icon 11.png18.03 KB
yielding의 이미지

clang_complete 설치하시면 됩니다.

Life rushes on, we are distracted

saelly의 이미지

이 clang_complete 플러그인 ubuntu에서도 되나요???

지금 설치해서 해봤는데... not found 뜨네요 ㅠㅠ

혹 설치방법을 아신다면 알려주시면 정말 감사하겠습니다.

yielding의 이미지

저는 맥에서 쓰고 있습니다. 다른 plugin보다 좀 생각을 많이해야하는 플러그인이 틀림없죠.
저는 git으로 정기적으로 업데이트 받아서 최신 버전을 유지하려고 노력하는데요.
URL: https://github.com/Rip-Rip

README의 내용은 다음과 같습니다.

his plugin uses clang for accurately completing C and C++ code.
 
To build and install in one step, type:
$ make install
 
To build and install in two steps, type:
$ make
$ vim clang_complete.vmb -c 'so %' -c 'q'
 
Alternatively, you can also put the files in ~/.vim/
 
You need Vim 7.3 or higher, compiled with python support and ideally, with
the conceal feature.

Life rushes on, we are distracted

oosap의 이미지

저도 반가운 소식이라 생각하고 vundle 플러그인으로 설치하고 사용해보려 했었는데요, .clang_complete 파일을 만들기가 너무 어렵습니다.
CC,CXX 변수에 cc_args.py 를 붙여서 만드는 방법도 그렇구요..

이 파일(.clang_complete), 쉽게 만들 수 있나요?

Thanks for being one of those who care for people and mankind.
I'd like to be one of those as well.

oosap의 이미지

http://kldp.org/node/125263

위 글에서는 vim 에 플러그인들을 쉽게 설치하는 방법을 설명하고 있습니다.
그 글의 댓글에서 설명하는 방법중에

:BundleInstall clang-complete

처럼 설치할 수 있다는 이야기가 나옵니다.
저는 그렇게 설치를 해볼 수 있었습니다. 그런데 설정 파일을 만들기가 어려워 포기하고 말았네요.. 그리고 아마 clang 도 설치를 해야 하는 것 같습니다.

Thanks for being one of those who care for people and mankind.
I'd like to be one of those as well.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.