Giter Club home page Giter Club logo

sublimeclang's People

Contributors

aukaost avatar berenm avatar danhper avatar ensisoft avatar jjgod avatar jturcotte avatar julianeberius avatar jvranish avatar kblomqvist avatar kevinushey avatar kispaljr avatar meyumer avatar pashkoff avatar pfultz2 avatar ph03 avatar quarnster avatar rcopera avatar rorydriscoll avatar stephenjohnston avatar timonwong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sublimeclang's Issues

CRITICAL: Fix infinite loop

Create a new window, write code like

int main()
{
return 0;
}

hit Save. The process hangs. Looks like an infinite loop inside the plugin.

Discover -isystem properties automatically

Currently in order to make things work manual work is required to figure out the right -isystem parameters. This is done by
$ clang++ -### -c test.cpp
which then prints a bunch of parameters. Currently we're interested in the -isystem paths
(listed as -internal-isystem) in the output. Seems that there might be a way to automate. Maybe we can ask clang/gcc for some of this information?

Perform completions on edits

Currently we have defined some completion symbols such as ".", "->" that trigger completion. This won't work for symbols in the global namespace.

Review settings and features

There's a bunch of settings that don't need to be user defined settings or are either broken or just hard to understand.

Need to:

  1. check which ones are needed
  2. test that the settings work as intended
  3. fix if needed

Provide built-in clang

To decrease installation hassle, automate the building of libclang.so from source. Look for example how's its done in the original repository using CMake.

Fix through unit tests

Check and fix the unit tests and make sure that code completion/parsing works as intended.

This might require some refactoring of the python code to remove connections to sublime modules in order to make it more independent and testable.

Support C

I have a feeling that the compiler frontend options will need to change when the language changes to C. This will need verification and fixing. Possibly split options into "cpp_options" and "c_options".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.