Questions tagged [projectile]

A projectile refers to an object, point type or solid, that was launched into an orbit or ballistic trajectory and is typically traveling at high velocity.

A projectile refers to an object, point type or solid, that was launched into an orbit or ballistic trajectory and is typically traveling at high velocity.

252 questions
16
votes
4 answers

Why Emacs project C-c p is undefined?

I am new to Emacs. I have installed Projectile. When I do C-c p, it says: C-c p is undefined Wondering what is wrong? Following is my ~/.emacs file. (require 'package) (add-to-list 'package-archives '("melpa" .…
Elisa
  • 6,865
  • 11
  • 41
  • 56
9
votes
2 answers

Get current projectile root path in elisp

Is there any way to get the current projectile root path in elisp. Something similar to the command eproject-root in eproject. Thanks
Pedro Luz
  • 2,694
  • 4
  • 44
  • 54
9
votes
2 answers

How to force emacs projectile to reinitialize a project?

I'm using projectile with emacs to manage a large project. I moved a number of directories with scores of files. The old file paths are still showing up in projectile find file (C-c p f). How do I remove them in bulk or force projectile to…
Serenade
  • 309
  • 1
  • 4
  • 12
9
votes
3 answers

emacs projectile - "you are not in a project" displayed when in directory

I've just created a new folder of javascript files. The structure is: .gitignore README.md build node_modules package.json src webpack.config.js But when I try and find a file with C-c p f, I get a message in the status bar that states You're not…
dagda1
  • 26,856
  • 59
  • 237
  • 450
7
votes
4 answers

How can I remove deleted files from emacs-projectile's cache if `projectile-invalidate-cache` doesn't do the trick?

Pretty much what the title says. For whatever reason projectile-invalidate-cache does not remove dead files from projectile's cache, or at least not from the results it presents me. I am using Spacemacs, an extension of Emacs, but I believe this…
Styx_
  • 135
  • 3
  • 9
7
votes
2 answers

How to use projectile-find-test-file

I'm using Emacs and projectile and trying to set the path to a test file so that I can use projectile-toggle-between-implementation-and-test. I call M-xprojectile-find-test-file but the Helm buffer is empty. Whatever I put in the pattern field, no…
blokeley
  • 6,726
  • 9
  • 53
  • 75
7
votes
1 answer

emacs helm-projectile, slow startup and projectile file find very slow

I'm on emacs using helm-projectile. I notice that emacs startup is very slow, ~4s. And projectile find fuzzy matching is slow as well, when I type the file name in full it takes about ~3s. I am working on a very large project, ~110K files. Is there…
mingxiao
  • 1,712
  • 4
  • 21
  • 33
7
votes
1 answer

How do I get Emacs projectile-mode to ignore most of the files that show up in a virtualenv Cython project?

I'm using Emacs on a virtualenv project with Cython files, and that means that most of the files are not ones I'm editing. In particular, I don't want anything from the user subdir in the project. So far no problems -- -/usr works in the…
Henry Crutcher
  • 2,137
  • 20
  • 28
7
votes
1 answer

emacs projectile - initialize project cache without git, hg, etc. repository

I want setup the projectile project for project that has no local git, hg, bzr, etc. directories so I cannot use their repositories as source of project files. Is it enough to just create the .projectile file in the root directory and use the C-u…
michal.szulc
  • 71
  • 1
  • 4
6
votes
3 answers

Projectile search only part of the project

When using emacs Projectile and helm-projectile, I am used to search for text inside the whole project. However is there a way to search only part of the project? Something like: search inside a subfolder only search while excluding a subfolder
nha
  • 17,623
  • 13
  • 87
  • 133
6
votes
2 answers

How to set a theme for specific project (Projectile) in Emacs

Is there a possibility to set a specific color theme or just to hook on a specific project to run custom elisp? So the idea is to automatically set a color theme or background-color when I open a file from a specific project (path)? E.g. I can work…
mico
  • 709
  • 5
  • 18
5
votes
1 answer

A C++ function to calculate and sample the trajectory of a projectile in 3D space. Physics programming

I need to write a function in C++ that can model and sample the trajectory curve of an object moving through 3D space. Problem Statement: The function will need to take 3 arguments as inputs. The function prototype might look something like…
ekcell
  • 105
  • 2
  • 11
4
votes
1 answer

How do I continuously trigger an action at certain time intervals? Enemy shoots constant beam instead of bullets in pygame

Trying to make an enemy in pygame that shoots bullets in a straight line in pygame. I've managed to make the enemy shoot, but it shoots a constant beam of bullets instead of spacing them out. Is there any way to space out the bullets? This is the…
d'arby
  • 87
  • 6
4
votes
1 answer

How to calculate initial velocity of projectile motion by a given distance and angle from point A to B?

Example image (This graph is not accurate but the idea or the parabola is like in there) In the below image, green curved line is the projectile motion of a bullet, gray line is the shadow motion, red circle is the starting position and the blue…
ronscript
  • 397
  • 1
  • 8
  • 33
4
votes
4 answers

Emacs can't find package to install

I got this error when trying install Emacs package automatically. Warning (initialization): An error occurred while loading `/Users/username/.emacs.d/init.el': File error: http://melpa.org/packages/projectile-20150619.800.el, Not found To ensure…
Hoa Hoang
  • 1,212
  • 14
  • 20
1
2 3
16 17