Arduino code ,anyone know how to get rid of it?

Looks like your ProffieOS.ino file got jumbled up.

I would download a fresh one from github and be sure to redefine your own config file after.

You somehow changed stuff in there.
The beginning should be this

/*
 ProffieOS: Control software for lightsabers and other props.
 http://fredrik.hubbe.net/lightsaber/teensy_saber.html
 Copyright (c) 2016-2019 Fredrik Hubinette
 Additional copyright holders listed inline below.

 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

/*-----------------------------------------------------------------*\
|  You can have multiple configuration files, and specify which one |
|  to use here by removing the two slashes at the beginning.        |
|  **NOTE** Only ONE line should be left uncommented at a time!     |
|  Add the slashes to any that you are not using.                   |
\*-----------------------------------------------------------------*/

#define CONFIG_FILE "config/Luke_config.h"

after that, there are many more lines until #include <Arduino.h>, which looks like what you tried to replace or something?

orntar is right that the easiest fix is just download a fresh copy.

Thank you all for the help.it did work but now everything is clear the indexing is stuck at 3/30.i did add arduino to the anti-virus protection system to stop blocking program but still have the same indexing result.how can I get pass this?

What indexing, where?
Are you talking about installing the Arduino-Proffieboard plugin?
Got a screenshot if you can’t describe it?

When trying to verify corrections in arduino/library. It’s the step before you flash your proffie board.it counts from 0 to 30 indexing.

This thread is in repated violation of the rules: Guidelines - The Crucible
I’m locking it.