Highly sensitive and selective Pd2+ sensor of naphthalimide derivative based on complexation with alkynes and thio-heterocycle.